You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#783 is adding a iam.IAM_MODEL_PARAMS dict that's simply sets of required parameters for IAM models.
#682 added temperature.TEMPERATURE_MODEL_PARAMETERS that includes default values.
#548 added pvsystem.DC_MODEL_PARAMS that's also only sets of required parameters.
We should reconsider if we want to expose these dictionaries to users.
These dictionaries are used by methods in PVSystem and ModelChain to automagically determine what functions to call. In principle, user code might do something similar with them, but I doubt that happens.
The TEMPERATURE_MODEL_PARAMETERS dictionary with default values is probably the most useful to an end user because the default parameters are useful when calling temperature module functions directly (i.e. not through ModelChain/PVSystem).
My short term recommendation is to:
deprecate pvsystem.DC_MODEL_PARAMS into pvsystem._DC_MODEL_PARAMS. I'd also be ok with just changing it without deprecation because 1. 0.7 is a big release and 2. this change won't effect many people and 3. My time is limited.
change iam.IAM_MODEL_PARAMS to iam._IAM_MODEL_PARAMS to prevent problems before they start
leave TEMPERATURE_MODEL_PARAMETERS alone
The text was updated successfully, but these errors were encountered:
Thanks @veronicaguo! I'm hoping that others will let us know what they think of these API choices and if the public dictionaries are actually useful to them or not...
#783 is adding a
iam.IAM_MODEL_PARAMS
dict that's simply sets of required parameters for IAM models.#682 added
temperature.TEMPERATURE_MODEL_PARAMETERS
that includes default values.#548 added
pvsystem.DC_MODEL_PARAMS
that's also only sets of required parameters.We should reconsider if we want to expose these dictionaries to users.
These dictionaries are used by methods in
PVSystem
andModelChain
to automagically determine what functions to call. In principle, user code might do something similar with them, but I doubt that happens.The
TEMPERATURE_MODEL_PARAMETERS
dictionary with default values is probably the most useful to an end user because the default parameters are useful when callingtemperature
module functions directly (i.e. not through ModelChain/PVSystem).My short term recommendation is to:
pvsystem.DC_MODEL_PARAMS
intopvsystem._DC_MODEL_PARAMS
. I'd also be ok with just changing it without deprecation because 1. 0.7 is a big release and 2. this change won't effect many people and 3. My time is limited.iam.IAM_MODEL_PARAMS
toiam._IAM_MODEL_PARAMS
to prevent problems before they startTEMPERATURE_MODEL_PARAMETERS
aloneThe text was updated successfully, but these errors were encountered: