# Running a Model If you havenโ€™t imported `output.json` into SpineOpt yet, start in **[Building a Model](4_building_a_model.md)**. --- ## ๐Ÿ› ๏ธ 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: 1. Left-click on the `Project` Execute window in Spine Toolbox. 2. 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 `.csv` or Excel. Typical outputs include: | Outputs | Description | |---------------------------|-------------------------------------------| | `Energy Flows` | Hourly flows per technology and node | | `Invested capacity` | Capacity additions by technology/year | | `Emissions` | COโ‚‚ emissions per time slice | | `Costs` | 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: ๐Ÿ‘‰ [Analyzing the Results](6_analyzing_a_model.md)