Recipes¶
Short, focused code snippets showing how to do specific things in FlixOpt. Unlike full examples, recipes focus on a single concept.
Available Recipes¶
- Plotting Custom Data - Create faceted plots with your own xarray data using Plotly Express
Planned Topics¶
- Storage Patterns - Batteries, thermal storage, seasonal storage
- Multi-Criteria Optimization - Balance multiple objectives
- Data I/O - Loading time series from CSV, databases, APIs
- Data Manipulation - Common xarray operations for parameterization and analysis
- Investment Optimization - Size optimization strategies
- Renewable Integration - Solar, wind capacity optimization
- Status Constraints - Minimum runtime, startup costs
- Large-Scale Problems - Segmented and aggregated calculations
- Custom Constraints - Extend models with linopy
- Domain-Specific Patterns - District heating, microgrids, industrial processes
Want to Contribute?¶
If you have recurring modeling patterns or clever solutions to share, please contribute via GitHub issues or pull requests.
Guidelines:
- Keep it short (< 100 lines of code)
- Focus on one specific technique
- Add brief explanation and when to use it
Check the contribution guide for details.