(class from pyomo.contrib.parmest.scenariocreator)
pyomo.contrib.parmest.scenariocreator
Bases: object
object
Class to hold scenario sets
Args: name (str): name of the set (might be “”)
Methods
ScenarioNumber(scennum)
ScenarioNumber
Returns the scenario with the given, zero-based number
ScensIterator()
ScensIterator
Usage: for scenario in ScensIterator()
__init__(name)
__init__
addone(scen)
addone
Add a scenario to the set
append_bootstrap(bootstrap_theta)
append_bootstrap
Append a bootstrap theta df to the scenario set; equally likely
write_csv(filename)
write_csv
write a csv file with the scenarios in the set
Member Documentation
scen (ParmestScen) – the scenario to add
bootstrap_theta (dataframe) – created by the bootstrap
which is why I put it in the ScenarioSet class.
filename (str) – full path and full name of file