smif.parameters.narrative module¶
Contains classes and methods relating to narratives.
Narrative hold collections of overridden parameter data. During model setup, a user compiles a number of narrative files which contains a list of parameter names and values. These are assigned to a narrative set during a model run and the Narrative object holds this information at runtime.
Summary¶
Classes:
Narrative |
Holds information relating to parameters from a collection of narrative policies |
Reference¶
-
class
smif.parameters.narrative.
Narrative
(name, description, narrative_set)[source]¶ Bases:
object
Holds information relating to parameters from a collection of narrative policies
Parameters: Example
>>> narrative = Narrative('Energy Demand - High Tech', 'A description', 'technology')