Product#

class Product(name=None, label=None, unit=None, dt=None)[source]#

Bases: Module

Generic product implementation

Attributes

now

Return the current time, i.e. the time vector at the current timestep.

states

Return a flat list of all states

statesdict

Return a flat dictionary (objdict) of all states

Methods

administer(people, inds)[source]#

Adminster a Product - implemented by derived classes