simona
simona copied to clipboard
Have `ChpModel` make use of the new model states
I noticed that the HpModel calls calculateNextState
in the method calculateActivePower
while the ChpModel
doesn't. Since both are supposed to stateful maybe that should happen the same way in both models?
Originally posted by @t-ober in https://github.com/ie3-institute/simona/pull/82#discussion_r1168828892
I think the underlying problem is that ChpModel
makes use of the mutable state of MutableStorage
, while it should be converted to use ThermalStorageState
like HpModel
does. After solving this, MutableStorage
and related deprecated functionality should be removed.
So to me, this issue is valid, although currently not at a high prio.