Skip to content

Commit

Permalink
pv model: _cache is no longer used in Illuminator v3
Browse files Browse the repository at this point in the history
  • Loading branch information
JortGroen committed Dec 20, 2024
1 parent 0c772cd commit 04d30a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/illuminator/models/PV/pv_model_v3.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def step(self, time, inputs, max_advance=900) -> None:
eid = list(self.model_entities)[0] # there is only one entity per simulator, so get the first entity
self._cache = {}
results = self.connect(input_data['G_Gh'], input_data['G_Dh'], input_data['G_Bn'], input_data['Ta'], input_data['hs'], input_data['FF'], input_data['Az'])
self._cache[eid] = results
# self._cache[eid] = results
for key, value in results.items():
self._model.outputs[key] = value
return time + self._model.time_step_size
Expand Down

0 comments on commit 04d30a0

Please sign in to comment.