Cumulated changes of Spring/Summer 2024:
- Implement economically consistent salvage value definition, see our report Pierre Haessig. Economic consistency of salvage value definitions. 2024. ⟨hal-04097092v2⟩
- Microgrid's
Project
description structure accepts a newsalvage_type
argument, with the default value beingLinearSalvage
which is the classical and previous behavior, but which can be changed toConsistentSalvage
- Microgrid's
- Add new
smoothing
parameter of the toplevel microgridsimulate
function. It replaces and generalizes the relaxation parameterε
introduced in v0.10.2.- Default value is
NoSmoothing
but can be set to anySmoothing
instance - the former
ε
parameter corresponds to the first field of theSmoothing
structure, which is namedtransition
. - the 2nd parameter if the
Smoothing
structure isgain
, which is 1.0 by default, but can be increased to heuristically compensate for the underapproximation when using a strictly positivetransition
value.
- Default value is
- The structures for describing Microgrid projects (
Microgrid
,Project
and all components such asBattery
) are now:- mutable (fields can be changed after creation)
- accept keyword arguments
- have sensible defaults for secondary parameters, matching Microgrids.py interface