Release notes
Version 0.6.7 (2025-10-23)
- Fixed a bug in the internal functions
get_opex_pen_upandget_opex_pen_down, such that they now work with InvestmentData.
Version 0.6.6 (2025-09-25)
- Minor updates to the documentation.
Rework of the scheduling constraints
- Rework of the testset for the scheduling constraints.
- Reduced number of lines through introduction of variable extraction functions to unify scheduling constraints.
- Moved scheduling constraint calculations to extension data.
- Allow for investments in the detailed hydropower nodes.
Bugfixes
- Fixed a bug in the internal function
is_constraint_resource. - Fixed a bug in hard
ScheduleConstraint{EqualSchedule}constraint forHydroReservoir. - Removed the function
EMB.level(n::HydroReservoir, t)as it would not work in the current design.
Version 0.6.5 (2025-02-10)
- Adjusted to
EnergyModelsBasev0.9.0:- Increased version nubmer for EMB.
- Model worked without adjustments.
- Adjustments only required for simple understanding of changes.
Version 0.6.4 (2024-11-29)
- Fixed errors overseen from the inclusion of batteries and detailed hydropower.
- Extended on tests to avoid errors like these in the future.
- Provided a comprehensive testset for checks.
Version 0.6.3 (2024-11-27)
Battery modelling
- Introduced two different battery nodes.
- Both nodes utilize charge and discharge efficiencies as well as potential for battery stack degradation.
Batterynodes:- Simplified version.
- Includes all standard battery behaviors.
ReserveBatterynodes:- Extends
Batterywith the potential for specifying a reserve that the battery can supply. - Reserve can be both upwards and downwards, that is providing capacity to the system and use surplus capacity from the system through charging.
- Extends
Detailed hydropower modelling
- Introduced a detailed modelling of hydro power utilizing multiple nodes and PQ-curves.
- All nodes can handle
ScheduleConstraints for providing hard or soft bounds on production/stored volume. Hydroreservoirnodes:Storagenodes that do not require a large amount of input.- Utilize water volumes as stored energy.
HydroGatenodes:- Can server as a spillover from a reservoir to another.
- Can still provide a limited capacity and fixed OPEX for maintaining them.
HydroGeneratornodes:- Connects multiple reservoirs.
- Can take in water from multiple reservoirs.
- Utilize concave PQ-curves for the calculation of power generation.
HydroPumpnodes:- Can pump water to a higher level.
- Utilizes convex PQ-curves for the calculation of power requirement for pumping.
Version 0.6.2 (2024-10-16)
- Minor updates on docstrings and descriptions.
- Adjusted to
EnergyModelsBasev0.8.1. - Introduced abstract supertype
AbstractNonDisRESforNonDisRESto allow for other implementations that use as well the variablecurtailment.
Version 0.6.1 (2024-09-03)
- Dependency increase for
EnergyModelsBaseas the changes do not directly affectEnergyModelsCO2. - Updated the documentation using the new structure released by
EnergyModelsCO2. - Included the package
DocumenterInterLinksfor crossreferences toEnergyModelsBase. - Use dev version of EMRP for examples when running as part of tests, similar to PR #33 of EMB.
Version 0.6.0 (2024-05-28)
- Adjusted to changes introduced in
EnergyModelsBasev0.7. - Remove legacy constructor for
RegHydroStorand provide a warning for it. - Added constructors for
HydroStornot requiring any longer specifying an input dictionary.
Version 0.5.6 (2024-05-09)
- Provided a contribution section in the documentation.
- Fixed a link in the documentation for the examples.
Version 0.5.5 (2024-03-21)
- Minor changes to the checks to be consistent with
EnergyModelsBasev0.6.7.
Version 0.5.4 (2024-03-04)
Examples
- Fixed a bug when running the examples from a non-cloned version of
EnergyModelsRenewableProducers. - This was achieved through a separate Project.toml in the examples.
NonDIsRes node
- Moved the capacity constraints through the profile to the function
EMB.constraints_capacity(n::NonDisRES, ...), and hence, removed the functionEMB.create_node(n::NonDisRES, ...).
Minor updates
- Added some checks and tests to the checks.
- Restructured the test folder.
Version 0.5.3 (2024-01-30)
- Updated the restrictions on the fields of individual types to be consistent.
- Added option to not include the field
datafor the individual introducedNodes.
Version 0.5.2 (2024-01-19)
- Updated the documenation to be in line with the updated done in
EnergyModelsBsae. - Moved
RegHydroStorto a new file,legacy_constructors.jlto highlight that a user should use the new types, namelyHydroStorandPumpedHydroStor.
Version 0.5.1 (2024-01-17)
- Update the method
constraints_levelto match the signature updates for these methods inEnergyModelsBase. This includes renamingconstraints_leveltoconstraints_level_sp. - Moved the function to
EMB.constraints_level_spto avoid problems.
Version 0.5.0 (2023-12-18)
Adjustment to release in EMB 0.6.0
- Adjusted the code for the new release.
- Implementation of support for
RepresentativePeriodsforHydroStoragenodes.
Version 0.4.2 (2023-09-01)
Create a variable :spill for hydro storage node
- This variable enables hydro storage nodes to spill water from the reservoir without producing energy.
Version 0.4.1 (2023-08-31)
Split the hydro storage node into to separate nodes
- Split
RegHydroStorinto to typesPumpedHydroStorandHydroStor. Both are subtypes
of the new abstract type HydroStorage <: EMB.Storage.
- Fix: variational OPEX for
HydroStornow depends onflow_outinstead of
flow_in. The new type PumpedHydroStor has a separate parameter for variational OPEX for the pumps, which depends on flow_in.
Version 0.4.0 (2023-06-06)
Switch to TimeStruct
- Switched the time structure representation to
TimeStruct. TimeStructis implemented with only the basis features that were available inTimeStructures. This implies that neither operational nor strategic uncertainty is included in the model.
Version 0.3.0 (2023-05-30)
- Adjustment to changes in
EnergyModelsBasev0.4.0 related to extra input data.
Version 0.2.2 (2023-05-15)
- Adjustment to changes in
EnergyModelsBasev 0.3.3 related to the calls for the constraint functions.
Version 0.2.1 (2023-02-03)
- Take the examples out to the folder
examples.
Version 0.2.0 (2023-02-03)
Adjustmends to updates in EnergyModelsBase
Adjustment to version 0.3.0, namely:
- Changed type (
Node) calls in tests to be consistent with version 0.3.0. - Removal of the type
GlobalDataand replacement with fields in the typeOperationalModelin all tests. - Changed type structure to be consistent with EMB version 0.3.0.
- Substitution of certain constraints in
create_nodethrough functions which utilize dispatching onnodetypes. - Changed the input to the function
variables_node.
Version 0.1.3 (2022-12-12)
Internal release
- Renamed to follow common prefix naming scheme.
- Update README.
Version 0.1.2 (2022-12-02)
- Minor test fixes in preparation of internal release.
Version 0.1.1 (2021-09-07)
Changes in naming
- Major changes in both variable and parameter naming, check the commit message for an overview.
- Change of structure in composite type "RegHydroStor".
Version 0.1.0 (2021-08-23)
- Initial version with inclusion of nodes for:
- nondispatchable renewable energy sources (NonDisRES) and
- regulated hydro generation (RegHydroStor, can be used for pumped hydro storage).