storage#

eclypse.graph.assets.defaults.storage(lower_bound=0.0, upper_bound=1000000000.0, init_fn_or_value=None)[source]#

Create a new additive asset for storage.

Parameters:
  • lower_bound (float) – The lower bound of the asset.

  • upper_bound (float) – The upper bound of the asset.

  • init_fn_or_value (PrimitiveType | AssetSpace | Callable[[], Any]) – The function/scalar to initialize the storage value.

Returns:

The storage asset.

Return type:

Additive