| MATLAB Central > MATLAB Newsreader > pls Help with fmincon! |
|
|
|
I am trying to optimize the energy usage in a smart house using fmincon to make it profitable for the user. The house has a solar panel and a wind turbine that generate energy, a consumption profile that show much much energy the house need. The energy storage is used as a battery in the basement and a plugged in Electric Vehicle (EV) during a certain time during the day. The optimization will be for the next 24 hours that i have estimated, based on that i will make a decision what to do the next time step. I have access to data every 10 min, which means 24h*6=144 data. The system can use both the EV and the battery to save or to drain energy from the battery and EV. According a study i made i will keep the state of charge of the battery and EV between 15%-85% and there is a maximum of charging/discharging energy from the battery. In the problem i have included the energy prices for both |
|
Please be more precise than "The problem is that i get the output of the variables out of bound." |
|
"Sargondjani" wrote in message <jrudma$9ml$1@newscl01ah.mathworks.com>... |
|
There are several issues with the model. To begin with, you have 144*3 decision variables, but the objective only uses three variables. I've mailed you to discuss things in detail (as you are a student from our lab :-) |
|
"Hannes " <samal111@student.liu.se> wrote in message <jrueih$cum$1@newscl01ah.mathworks.com>... |
A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.
