-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add examples/guide without macros #86
Comments
Yes, more examples are always welcome ! Feel free to contribute to the readme and to the crate doc comments |
Out of curiosity, what are you working on ? This seems close to the kind of problems we work on at inthy |
Given a production forecast and price forecast, trying to forecast how a battery/solar hybrid PPA holder will charge/discharge the battery in the face of the terms of their PPA. In particular they can't clip the solar except if the solar is greater than the grid connection. Additionally, they can only charge from the solar. My example above doesn't have all my constraints and variables though. My shift to rust from pyomo is primarily motivated so I can make a polars plugin to do more Q&D battery arbitrage forecasts. As to making a contribution, do you have any feedback on my example? |
I think you could make your initial example a little bit more readable by using the |
Sorry for the random chiming in here with a question: can either of you recommend good resources or projects for battery/solar/heat pump energy managers? Sounds like you are both working in the field, and I'd be interested in open source and community-based solutions to use at home. |
@dlaehnemann : I'm sorry, but I have really no idea what to recommend. My work isn't really close that; I work on proprietary software managing large industrial infrastructure |
Cool stuff, anyways, and thanks for chiming in. Maybe the project @deanm0000 is on is more in the direction of the question. |
Sorry, I work in the wholesale side of the industry too so I'm not aware of home energy managers. |
The macros are great for small problems but anything a bit bigger or dynamic needs the non-macro approach. Here's a snippet of something I just did, not sure if there's a better way.
The text was updated successfully, but these errors were encountered: