Skip to content

Commit

Permalink
chore: move feature experimental to main method for requested pressur…
Browse files Browse the repository at this point in the history
…es (#230)

* chore: move feature experimental to main method for requested pressures
  • Loading branch information
frodehk committed Oct 4, 2023
1 parent 6b05439 commit 00ad854
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/libecalc/core/graph_result.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,9 +218,6 @@ def _parse_emissions(emissions: Dict[str, EmissionResult]) -> Dict[str, libecalc
}

@staticmethod
@Feature.experimental(
feature_description="Reporting requested pressures from compressor systems is an experimental feature."
)
def operational_setting_used_id(timestep: datetime, operational_settings_used: TimeSeriesInt) -> int:
timestep_index = operational_settings_used.timesteps.index(timestep)

Expand All @@ -229,6 +226,7 @@ def operational_setting_used_id(timestep: datetime, operational_settings_used: T
return operational_setting_id - 1

@staticmethod
@Feature.experimental(feature_description="Reporting requested pressures is an experimental feature.")
def get_requested_compressor_pressures(
energy_usage_model: Dict[datetime, Any],
pressure_type: CompressorPressureType,
Expand Down

0 comments on commit 00ad854

Please sign in to comment.