gschivley / battery_model Goto Github PK
View Code? Open in Web Editor NEWSample project modeling battery storage and dispatch
License: MIT License
Sample project modeling battery storage and dispatch
License: MIT License
Once #2 is done, wrap the code in a function. Allow for parameter inputs (length of look-ahead, length of schedule to keep). Output charge state, charge/discharge data. Use outputs to ensure charge continuity and build record of activity of the full year.
To keep the 24-hour discharge constraint, each optimization will probably need to know the proceeding 23-hour discharge schedule. I suppose this could be done by passing in the entire discharge schedule up to that point and using the values as a constraint.
Need to know most profitable month and plot dispatch/LBMP for the most profitable week. Aggregate and do calculations using pandas and the timestamp from original data.
I forgot about having to deal with daylight savings and don't think it's worth the bother to convert to UTC for this exercise. Just use 8760 instead.
I'm starting SOC at half of maximum. Finish as same in last hour to avoid model discharging all power? The max discharge in 24-hour constraint might prevent this though - check results.
Start with the easiest method by solving for the entire year.
All parameters/constraints/variables and the objective. Might as well get in equations to keep as a nice reference when writing code.
Nothing too fancy. Maybe a heat map of mean/median price by hour/week?
Background
The positive_charge function in the read battery_model.py file appears to constrain Eout when the S < Rmax.
Current Behavior
Currently the battery is exporting more power than it can hold. for example; When S = 100, RMax = 250 and eta = 0.90, Eout currently equals 105
Expected Behavior
the desired output should be as follows; When S = 100, RMax = 250 and eta = 0.90, Eout should equal 95
Possible Solution
In the positive_charge function switch the operator from divide to multiply
Similar to #7 but with charge/discharge and profit
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.