Running a Model¶
If you haven’t imported output.json into SpineOpt yet, start in Building a Model.
🛠️ Step x: Select and Configure a Solver for MIP problems¶
MORPHE2US (via SpineOpt) supports various optimization solvers. Choose one based on your performance needs:
FILL THIS PART ? at least list the possible options
▶️ Step 1: Run the Model¶
Directly within Spine Toolbox:
Left-click on the
ProjectExecute window in Spine Toolbox.Monitor the log window for progress and any warnings/errors.
💡 Tip: For large models, expect longer runtimes. For fast iterations, start with short time horizons or fewer technologies.
TODO add screenshot for illustrative purposes
📁 Step 2: View and Export Results¶
Once the model completes:
Open the output database to view results (automatically generated by SpineOpt).
Use Spine Toolbox visualizations or export data to
.csvor Excel.
Typical outputs include:
Outputs |
Description |
|---|---|
|
Hourly flows per technology and node |
|
Capacity additions by technology/year |
|
CO₂ emissions per time slice |
|
By activity and node |
🧰 Troubleshooting¶
If the model fails to run:
❌ Infeasible model: Check constraints (e.g., demand too high, no valid tech)
⚠️ Missing inputs: Ensure all time series and costs are present
🐌 Too slow: Try a smaller horizon or simpler tech mix
Use the log window in Spine Toolbox for detailed error messages and solver output.
✅ Next Step: Analyze Your Results¶
Once your model runs successfully and results are exported, move to: