when i am trying to use standalone battery model with grid charging with default values. It is giving negative energy.
Request for your input. Thank you!!!
Could you attach a copy of your .sam file so I can investigate?
Also, please attach any screenshots as an image file (.jpg, png, bmp, etc) and then insert it into your message. Otherwise the image does not render properly.
The "annual energy" value is the sum of the hourly or subhourly kW delivered to the grid. For a standalone battery that charges from the grid, the total energy delivered by the battery to the grid over a year must be less than the energy delivered to the battery from the grid because of roundtrip efficiency losses: The battery dissipates heat as it charges and discharges. So, I would expect annual energy to be negative.
You might want to try the manual dispatch option so you can control when the battery charges and discharges.
Also, you might consider installing the latest version of SAM to get the newest updates to the battery model.