|
6 | 6 | from typing import Any, Self |
7 | 7 |
|
8 | 8 | from libecalc.common.component_type import ComponentType |
9 | | -from libecalc.common.time_utils import Frequency, Period, Periods |
| 9 | +from libecalc.common.time_utils import Period, Periods |
10 | 10 | from libecalc.common.units import Unit |
11 | 11 | from libecalc.common.utils.rates import TimeSeriesBoolean, TimeSeriesFloat, TimeSeriesInt, TimeSeriesStreamDayRate |
12 | 12 | from libecalc.common.variables import ExpressionEvaluator, VariablesMap |
|
34 | 34 | ) |
35 | 35 | from libecalc.domain.process.pump.pump import PumpModel |
36 | 36 | from libecalc.domain.regularity import Regularity |
37 | | -from libecalc.dto import ResultOptions |
38 | 37 | from libecalc.dto.node_info import NodeInfo |
39 | 38 | from libecalc.presentation.yaml.domain.category_service import CategoryService |
40 | 39 | from libecalc.presentation.yaml.domain.default_process_service import DefaultProcessService |
@@ -124,9 +123,7 @@ def __init__( |
124 | 123 | self, |
125 | 124 | configuration: YamlValidator, |
126 | 125 | resource_service: ResourceService, |
127 | | - output_frequency: Frequency, |
128 | 126 | ) -> None: |
129 | | - self._output_frequency = output_frequency |
130 | 127 | self._configuration = configuration |
131 | 128 | self._resource_service = resource_service |
132 | 129 |
|
@@ -272,14 +269,6 @@ def variables(self) -> VariablesMap: |
272 | 269 | assert self._variables is not None |
273 | 270 | return self._variables |
274 | 271 |
|
275 | | - @property |
276 | | - def result_options(self) -> ResultOptions: |
277 | | - return ResultOptions( |
278 | | - start=self._configuration.start, |
279 | | - end=self._configuration.end, |
280 | | - output_frequency=self._output_frequency, |
281 | | - ) |
282 | | - |
283 | 272 | def _get_token_references(self, time_series_references: list[str]) -> list[str]: |
284 | 273 | token_references = time_series_references |
285 | 274 | for reference in self._configuration.variables: |
|
0 commit comments