Product#

class Product(name=None, label=None, **kwargs)[source]#

Bases: Module

Generic product implementation

Attributes

now

Shortcut to self.t.now()

states

Return a flat list of all states

statesdict

Return a flat dictionary (objdict) of all states

ti

Get the current module timestep

timevec

Shortcut to self.t.timevec

Methods

administer(people, inds)[source]#

Adminster a Product - implemented by derived classes