Skip to content

Commit

Permalink
rebasing with dev
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinBelthle committed Dec 20, 2023
1 parent bf52c0d commit 0e6c5ad
Showing 1 changed file with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,14 +95,14 @@ def init_constant_matrices(

# Binding constraint matrices
series = matrix_constants.binding_constraint.series_before_v87
self.hashes[BINDING_CONSTRAINT_HOURLY] = self.matrix_service.create(series.default_binding_constraint_hourly)
self.hashes[BINDING_CONSTRAINT_DAILY] = self.matrix_service.create(series.default_binding_constraint_daily)
self.hashes[BINDING_CONSTRAINT_WEEKLY] = self.matrix_service.create(series.default_binding_constraint_weekly)

# Some short-term storage matrices use np.ones((8760, 1))
self.hashes[ONES_SCENARIO_MATRIX] = self.matrix_service.create(
matrix_constants.st_storage.series.pmax_injection
)
self.hashes[BINDING_CONSTRAINT_HOURLY] = self.matrix_service.create(series.default_bc_hourly)
self.hashes[BINDING_CONSTRAINT_DAILY] = self.matrix_service.create(series.default_bc_weekly_daily)
self.hashes[BINDING_CONSTRAINT_WEEKLY] = self.matrix_service.create(series.default_bc_weekly_daily)

# Some short-term storage matrices use np.ones((8760, 1))
self.hashes[ONES_SCENARIO_MATRIX] = self.matrix_service.create(
matrix_constants.st_storage.series.pmax_injection
)

def get_hydro_max_power(self, version: int) -> str:
if version > 650:
Expand Down

0 comments on commit 0e6c5ad

Please sign in to comment.