NREL / reV

Renewable Energy Potential (reV) Model
https://nrel.github.io/reV/
BSD 3-Clause "New" or "Revised" License
107 stars 24 forks source link

Bespoke capital cost function doesn't actually allow using `self.wind_plant` #466

Open ppinchuk opened 2 months ago

ppinchuk commented 2 months ago

In order to use self.wind_plant in the bespoke EOS cost function, users need to access variables using strings. For example:

"capital_cost_function": "self.wind_plant['capital_cost'] * system_capacity"

This currently breaks with the following message:

/var/spool/slurmd/job5608742/slurm_script: line 12: syntax error near unexpected token ('

WilliamsTravis commented 1 month ago

Task number: reV Maintenance GDOP.12495.31.01.01