System Advisor Model (SAM)
Login
Register
Search
System Advisor Model
Home
Forum
Events
Download
SDK/PySAM
PySAM
SAM Open Source
About
Login
Register
home
Forum
SAM User Forum
Software Development Kit (SDK) and PySAM
Importing input files from json to PySAM for Pvwattsv8
Photovoltaic
PV Videos
PV Publications
PV Cost and Component Data
PV Validation
PVRPM
Battery Storage
Battery Videos
Battery Publications
Battery Cost Data
Wind
Marine Energy
Concentrating Solar
CSP Videos
CSP Publications
CSP Cost Data
CSP Validation
Hybrid Systems
Solar Water Heating
Biomass Combustion
Geothermal Power
Simulation Options
Financial Models
Residential and Commercial
Third Party Ownership
Power Purchase Agreement (PPA)
Community Solar
Merchant Plant
LCOE Calculator
Weather Data
Weather Data Videos
Weather Data Publications
LK Script
Training and Curricula
Regional Activities
Citing SAM
Kunena Menu
Recent Topics
Forum Search
Importing input files from json to PySAM for Pvwattsv8
Start
Prev
1
2
Next
End
1
2
pgilman
Less
More
Posts: 5447
11 Jul 2024 12:19
#13300
by
pgilman
Replied by
pgilman
on topic
Importing input files from json to PySAM for Pvwattsv8
The correct workaround for this issue is:
Code:
for k, v in pv_inputs.items(): if k != 'number_inputs': if 'adjust_' in k: k = k.replace('adjust_','') pv_model.value(k, v)
See
github.com/NREL/pysam/issues/164
Best regards,
Paul.
Please
Log in
or
Create an account
to join the conversation.
Start
Prev
1
2
Next
End
1
2
Moderators:
pgilman
Powered by
Kunena Forum