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.