zen-garden 2.7.10__py3-none-any.whl → 2.7.12__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
zen_garden/_internal.py CHANGED
@@ -71,7 +71,8 @@ def main(config, dataset_path=None, job_index=None, folder_output_path=None):
71
71
  if phase == 'operation' and not config.system.include_operation_only_phase:
72
72
  continue
73
73
  StringUtils.print_optimization_progress(scenario, steps_horizon, step, system=config.system)
74
- optimization_setup.set_phase_configurations(phase)
74
+ if optimization_setup.system.include_operation_only_phase:
75
+ optimization_setup.set_phase_configurations(phase)
75
76
  # overwrite time indices
76
77
  optimization_setup.overwrite_time_indices(step)
77
78
  # create optimization problem
@@ -281,7 +281,7 @@ class TimeSeriesAggregation(object):
281
281
  self.single_ts_tsa()
282
282
  # overwrite time_step_sequence here
283
283
  base_time_steps = self.energy_system.time_steps.decode_time_step(year, "yearly")
284
- new_sequence_time_steps[base_time_steps][:,0] = self.sequence_time_steps
284
+ new_sequence_time_steps[base_time_steps.squeeze()] = self.sequence_time_steps
285
285
  # save year specific TSA results
286
286
  self.year_specific_tsa[year] = self.typical_periods
287
287
  return new_sequence_time_steps
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: zen_garden
3
- Version: 2.7.10
3
+ Version: 2.7.12
4
4
  Summary: ZEN-garden is an optimization model of energy systems and value chains.
5
5
  Author: Alissa Ganter, Johannes Burger, Francesco De Marco, Lukas Kunz, Lukas Schmidt-Engelbertz, Paolo Gabrielli, Giovanni Sansavini
6
6
  Author-email: Jacob Mannhardt <zen-garden@ethz.ch>
@@ -1,6 +1,6 @@
1
1
  zen_garden/__init__.py,sha256=Jc8WQzHjL74sk4xOnbv1i68Bt6RuzXPkh9WYn3Jl_LE,376
2
2
  zen_garden/__main__.py,sha256=r3pop1FpaTfe9YUGxYP48T1uqdq5uZW8gBzZKbZOFno,4624
3
- zen_garden/_internal.py,sha256=COkgFHuPROBVLG_KRPnLRBZIkHdD8CuNISwOQBeV2yc,5268
3
+ zen_garden/_internal.py,sha256=K648bT1O8gD9uIrfmqPXP5lDdlkJd3-Ai111_IyIc1w,5347
4
4
  zen_garden/default_config.py,sha256=ozz2LBSGSaMH8alEAzh-6ziM9IE9zXM9PfRD3nulAIs,8663
5
5
  zen_garden/optimization_setup.py,sha256=Rv_IciR_Y9GF-OaPDDAvTQ2huTuAt94jrWpcDJCQgWQ,42176
6
6
  zen_garden/utils.py,sha256=-G4uaLix4U9Fzg7FWayK9QzHEbJ0uMdvLfgJDxVewpw,57461
@@ -28,9 +28,9 @@ zen_garden/postprocess/results/solution_loader.py,sha256=QO1AqW8uFOO1TqiaXCuoZ3m
28
28
  zen_garden/preprocess/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
29
29
  zen_garden/preprocess/extract_input_data.py,sha256=PWKdel7s488SELseyAaoFkwXpzJU4MZg0pW0wO2ZHoI,51523
30
30
  zen_garden/preprocess/parameter_change_log.py,sha256=WNhLYTyuaFkUl_e4QH36W1chpqg00m7zg__PawPogAY,387
31
- zen_garden/preprocess/time_series_aggregation.py,sha256=BFdIHQ80Xbk-MgZENhA55fTUjvQA2WhcUlTfw6BY7BQ,32107
31
+ zen_garden/preprocess/time_series_aggregation.py,sha256=v8xRRk4I9WZ2yi7V3I_Ersj2RV1T2WIKslx8ohkMfWI,32112
32
32
  zen_garden/preprocess/unit_handling.py,sha256=OGIHFyDdUmGU-GEGHkJGJ9RmKfDBy5-HmuBQmtYAK5Q,63043
33
- zen_garden-2.7.10.dist-info/licenses/LICENSE.txt,sha256=_kEtxPe9gWOwMzdiy8nLzgABiPdMvUS0kaSCOIrEA_E,1101
34
- zen_garden-2.7.10.dist-info/WHEEL,sha256=G2gURzTEtmeR8nrdXUJfNiB3VYVxigPQ-bEQujpNiNs,82
35
- zen_garden-2.7.10.dist-info/METADATA,sha256=PyVPFojpMTwiYw1Nw0mf3udkMLgxb6k2ly0tbhmO3-0,5879
36
- zen_garden-2.7.10.dist-info/RECORD,,
33
+ zen_garden-2.7.12.dist-info/licenses/LICENSE.txt,sha256=_kEtxPe9gWOwMzdiy8nLzgABiPdMvUS0kaSCOIrEA_E,1101
34
+ zen_garden-2.7.12.dist-info/WHEEL,sha256=G2gURzTEtmeR8nrdXUJfNiB3VYVxigPQ-bEQujpNiNs,82
35
+ zen_garden-2.7.12.dist-info/METADATA,sha256=EJpjxy9mcFlrsEojwsE4C-tNiX3MOrSTyTakH8pVTqA,5879
36
+ zen_garden-2.7.12.dist-info/RECORD,,