- Posts: 1
Battery to Grid for Price Signal Forecast?
- alexander.jones
- Topic Author
Less
More
15 Dec 2022 10:16 #11779
by alexander.jones
Battery to Grid for Price Signal Forecast? was created by alexander.jones
Hi,
I am trying to run a simulation of a system which includes custom consumption and solar generation profiles (using exported PySAM inputs from a Generic System-Battery (Residential) configuration). When using the price signal forecast dispatch option, can battery discharging to grid ever be enabled? Is this enabled only for specific tariffs or is there another reason this seems to be disabled when using the price signal forecast?
Thanks in advance for your help,
Alex
I am trying to run a simulation of a system which includes custom consumption and solar generation profiles (using exported PySAM inputs from a Generic System-Battery (Residential) configuration). When using the price signal forecast dispatch option, can battery discharging to grid ever be enabled? Is this enabled only for specific tariffs or is there another reason this seems to be disabled when using the price signal forecast?
Thanks in advance for your help,
Alex
Please Log in or Create an account to join the conversation.
- pgilman
Less
More
- Posts: 5447
15 Dec 2022 16:43 #11780
by pgilman
Replied by pgilman on topic Battery to Grid for Price Signal Forecast?
Hi Alex,
It is difficult (if not impossible) in PySAM to tell what inputs are available for a given dispatch option. We recommend using the SAM user interface and Help system as a reference as you set values for these inputs. The best way to avoid problems setting these inputs in PySAM is to set up your case in SAM and make sure it runs as you expect. Then identify the (hopefully few) inputs you need to modify for your analysis and your outputs of interest.
Once you are comfortable with things in SAM, use the code generator to export the inputs to PySAM, and write Python to modify those inputs, run simulations, and generate the results you need.
For more on this approach, see the PySAM documentation:
nrel-pysam.readthedocs.io/en/master/inputs-from-sam.html .
nrel-pysam.readthedocs.io/en/master/variables-sam.html
In this case, you can see from the disabled inputs for the Price Signal Forecast dispatch option on SAM's Battery Dispatch page for a behind-the-meter battery that charging from the grid is allowed, but discharging to the grid is not allowed. The text to the right of the inputs provides some additional information:
In SAM's Help topic for the Battery Dispatch page, you can read more about the Price Signal Forecast dispatch option, and find a link to a publication about it:
samrepo.nrelcloud.org/help/battery_dispatch_btm.htm
Best regards,
Paul.
It is difficult (if not impossible) in PySAM to tell what inputs are available for a given dispatch option. We recommend using the SAM user interface and Help system as a reference as you set values for these inputs. The best way to avoid problems setting these inputs in PySAM is to set up your case in SAM and make sure it runs as you expect. Then identify the (hopefully few) inputs you need to modify for your analysis and your outputs of interest.
Once you are comfortable with things in SAM, use the code generator to export the inputs to PySAM, and write Python to modify those inputs, run simulations, and generate the results you need.
For more on this approach, see the PySAM documentation:
nrel-pysam.readthedocs.io/en/master/inputs-from-sam.html .
nrel-pysam.readthedocs.io/en/master/variables-sam.html
In this case, you can see from the disabled inputs for the Price Signal Forecast dispatch option on SAM's Battery Dispatch page for a behind-the-meter battery that charging from the grid is allowed, but discharging to the grid is not allowed. The text to the right of the inputs provides some additional information:
In SAM's Help topic for the Battery Dispatch page, you can read more about the Price Signal Forecast dispatch option, and find a link to a publication about it:
samrepo.nrelcloud.org/help/battery_dispatch_btm.htm
Best regards,
Paul.
Attachments:
Please Log in or Create an account to join the conversation.
Moderators: pgilman