Example gallery
How to run the examples
To run the examples, we recommend to follow the instructions here to set up the basic SpineToolbox workflow, loading the JSON example file in your input data store depending on the example you want to run. We recommend creating a new SpineToolbox project for each example.
Examples
Each example has a link to the JSON file with the input data.
- Simple system: Example with two nodes and units, including the relationships among them for a temporal block with duration of one day.
- Stochastic model: Setup of stochastic structures for three forecast scenarios.
- Capacity planning: This example shows the definition of investment and operational temporal blocks in SpineOpt for one target year.
- Multi-year investment examples: The following examples have a setup for a multi-year investment case study (e.g., for pathway planning) in a five-year time horizon with investments every five years (e.g., at the beginning and end of the time horizon) with a 4-month operational temporal block duration. Here, we have different options in SpineOpt:
- Example without economic parameters calculation: No extra manipulation of the input data from SpineOpt (
use_economic_represention=false
). So, the user input data needs to account for the value of money over time according to discount rate and year. - Example with economic parameters calculation without milestone years: SpineOpt internally-calculates the parameters for discounting investment and operation costs given a discount rate, discount year, and lifetime information (
use_economic_represention=true
). - Example with economic parameters calculation with milestone years: Since solving five years of operation might be computational intensive, SpineOpt offers the option of having milestone years (
use_milestone_years=true
). In that case, only two years are solved in the model. Still, one represents the operation of the non-milestone years using a calculated weight, including the discounted operation costs.
- Example without economic parameters calculation: No extra manipulation of the input data from SpineOpt (
- Reserves constraints: Extension of the simple system including operating reserve constraints.
- Unit commitment constraints: Extension of the sinple system including unit commitment constraints.
- Rolling horizon: This is an Example with a total time horizon of one week, an optimization window of one day, and rolling forward one day at a time.
Some archived examples are also in the spine tools repository, e.g. case study A5.