Skip to main content

Module asset

Module asset 

Source
Expand description

Assets are instances of a process which are owned and invested in by agents.

Modulesยง

capacity ๐Ÿ”’
Represents the capacity of an asset
pool ๐Ÿ”’
Defines a data structure for representing the current active pool of assets.

Structsยง

Asset
An asset controlled by an agent.
AssetID
A unique identifier for an asset
AssetPool
The active pool of super::Assets
AssetRef
A wrapper containing a reference-counted Asset.
MothballEvent
Indicates the year and number of units mothballed
UserAsset
An asset defined by the user in the assets input file

Enumsยง

AssetCapacity
Capacity of an asset, which may be continuous or a discrete number of indivisible units
AssetCmp ๐Ÿ”’
A data structure representing the fields of an Asset that should be used for comparisons.
AssetState
The state of an asset

Traitsยง

AssetIterator
Additional methods for iterating over assets

Functionsยง

check_capacity_valid_for_asset
Whether the specified value is a valid capacity for an asset
check_region_year_valid_for_process
Whether the process operates in the specified region and year
log_decommissioning ๐Ÿ”’
Log that the specified number of units has been decommissioned for the given asset