Electrical consumption can be given for one hour (average) \"usage\":{\"avg_power\": 1}.
π Modeled
Electrical consumption can be retrieved from consumption profile using usage:{time_workload: 50}.
π Archetype
In some cases, default electrical consumption can be taken from the archetype
π Auto-complete & π Archetype
The API will complete the missing attributes in a request with a completion function or with values taken from the archetype specified in the route parameter.
β¬ Allocation
Usage impacts are assessed on the duration given in route parameter
Embedded impacts are allocated linearly on the duration given in parameter embedded_impact = impact * (duration/life_duration)
If no duration is given, the life_duration (`hours_life_time) of the asset is used.
*
* The version of the OpenAPI document: 1.3
*
* Generated by: https://openapi-generator.tech
*/
use crate::models;
use serde::{Deserialize, Serialize};
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct ExternalSsd {
#[serde(rename = "usage", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
pub usage: Option