Module asset

Source
Expand description

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

Structs§

Asset
An asset controlled by an agent.
AssetID
A unique identifier for an asset
AssetPool
A pool of Assets
AssetRef
A wrapper around Asset for storing references in maps.

Enums§

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
decommission_assets 🔒
Convert the specified assets to being decommissioned and return