github.com/enbility/spine-go@v0.7.0/model/operatingconstraints.go (about)

     1  package model
     2  
     3  type OperatingConstraintsInterruptDataType struct {
     4  	SequenceId                  *PowerSequenceIdType `json:"sequenceId,omitempty" eebus:"key"`
     5  	IsPausable                  *bool                `json:"isPausable,omitempty"`
     6  	IsStoppable                 *bool                `json:"isStoppable,omitempty"`
     7  	NotInterruptibleAtHighPower *bool                `json:"notInterruptibleAtHighPower,omitempty"`
     8  	MaxCyclesPerDay             *uint                `json:"maxCyclesPerDay,omitempty"`
     9  }
    10  
    11  type OperatingConstraintsInterruptDataElementsType struct {
    12  	SequenceId                  *ElementTagType `json:"sequenceId,omitempty"`
    13  	IsPausable                  *ElementTagType `json:"isPausable,omitempty"`
    14  	IsStoppable                 *ElementTagType `json:"isStoppable,omitempty"`
    15  	NotInterruptibleAtHighPower *ElementTagType `json:"notInterruptibleAtHighPower,omitempty"`
    16  	MaxCyclesPerDay             *ElementTagType `json:"maxCyclesPerDay,omitempty"`
    17  }
    18  
    19  type OperatingConstraintsInterruptListDataType struct {
    20  	OperatingConstraintsInterruptData []OperatingConstraintsInterruptDataType `json:"operatingConstraintsInterruptData,omitempty"`
    21  }
    22  
    23  type OperatingConstraintsInterruptListDataSelectorsType struct {
    24  	SequenceId *PowerSequenceIdType `json:"sequenceId,omitempty"`
    25  }
    26  
    27  type OperatingConstraintsDurationDataType struct {
    28  	SequenceId           *PowerSequenceIdType `json:"sequenceId,omitempty" eebus:"key"`
    29  	ActiveDurationMin    *DurationType        `json:"activeDurationMin,omitempty"`
    30  	ActiveDurationMax    *DurationType        `json:"activeDurationMax,omitempty"`
    31  	PauseDurationMin     *DurationType        `json:"pauseDurationMin,omitempty"`
    32  	PauseDurationMax     *DurationType        `json:"pauseDurationMax,omitempty"`
    33  	ActiveDurationSumMin *DurationType        `json:"activeDurationSumMin,omitempty"`
    34  	ActiveDurationSumMax *DurationType        `json:"activeDurationSumMax,omitempty"`
    35  }
    36  
    37  type OperatingConstraintsDurationDataElementsType struct {
    38  	SequenceId           *ElementTagType `json:"sequenceId,omitempty"`
    39  	ActiveDurationMin    *ElementTagType `json:"activeDurationMin,omitempty"`
    40  	ActiveDurationMax    *ElementTagType `json:"activeDurationMax,omitempty"`
    41  	PauseDurationMin     *ElementTagType `json:"pauseDurationMin,omitempty"`
    42  	PauseDurationMax     *ElementTagType `json:"pauseDurationMax,omitempty"`
    43  	ActiveDurationSumMin *ElementTagType `json:"activeDurationSumMin,omitempty"`
    44  	ActiveDurationSumMax *ElementTagType `json:"activeDurationSumMax,omitempty"`
    45  }
    46  
    47  type OperatingConstraintsDurationListDataType struct {
    48  	OperatingConstraintsDurationData []OperatingConstraintsDurationDataType `json:"operatingConstraintsDurationData,omitempty"`
    49  }
    50  
    51  type OperatingConstraintsDurationListDataSelectorsType struct {
    52  	SequenceId *PowerSequenceIdType `json:"sequenceId,omitempty"`
    53  }
    54  
    55  type OperatingConstraintsPowerDescriptionDataType struct {
    56  	SequenceId              *PowerSequenceIdType   `json:"sequenceId,omitempty" eebus:"key"`
    57  	PositiveEnergyDirection *EnergyDirectionType   `json:"positiveEnergyDirection,omitempty"`
    58  	PowerUnit               *UnitOfMeasurementType `json:"powerUnit,omitempty"`
    59  	EnergyUnit              *UnitOfMeasurementType `json:"energyUnit,omitempty"`
    60  	Description             *DescriptionType       `json:"description,omitempty"`
    61  }
    62  
    63  type OperatingConstraintsPowerDescriptionDataElementsType struct {
    64  	SequenceId              *ElementTagType `json:"sequenceId,omitempty"`
    65  	PositiveEnergyDirection *ElementTagType `json:"positiveEnergyDirection,omitempty"`
    66  	PowerUnit               *ElementTagType `json:"powerUnit,omitempty"`
    67  	EnergyUnit              *ElementTagType `json:"energyUnit,omitempty"`
    68  	Description             *ElementTagType `json:"description,omitempty"`
    69  }
    70  
    71  type OperatingConstraintsPowerDescriptionListDataType struct {
    72  	OperatingConstraintsPowerDescriptionData []OperatingConstraintsPowerDescriptionDataType `json:"operatingConstraintsPowerDescriptionData,omitempty"`
    73  }
    74  
    75  type OperatingConstraintsPowerDescriptionListDataSelectorsType struct {
    76  	SequenceId *PowerSequenceIdType `json:"sequenceId,omitempty"`
    77  }
    78  
    79  type OperatingConstraintsPowerRangeDataType struct {
    80  	SequenceId *PowerSequenceIdType `json:"sequenceId,omitempty" eebus:"key"`
    81  	PowerMin   *ScaledNumberType    `json:"powerMin,omitempty"`
    82  	PowerMax   *ScaledNumberType    `json:"powerMax,omitempty"`
    83  	EnergyMin  *ScaledNumberType    `json:"energyMin,omitempty"`
    84  	EnergyMax  *ScaledNumberType    `json:"energyMax,omitempty"`
    85  }
    86  
    87  type OperatingConstraintsPowerRangeDataElementsType struct {
    88  	SequenceId *ElementTagType `json:"sequenceId,omitempty"`
    89  	PowerMin   *ElementTagType `json:"powerMin,omitempty"`
    90  	PowerMax   *ElementTagType `json:"powerMax,omitempty"`
    91  	EnergyMin  *ElementTagType `json:"energyMin,omitempty"`
    92  	EnergyMax  *ElementTagType `json:"energyMax,omitempty"`
    93  }
    94  
    95  type OperatingConstraintsPowerRangeListDataType struct {
    96  	OperatingConstraintsPowerRangeData []OperatingConstraintsPowerRangeDataType `json:"operatingConstraintsPowerRangeData,omitempty"`
    97  }
    98  
    99  type OperatingConstraintsPowerRangeListDataSelectorsType struct {
   100  	SequenceId *PowerSequenceIdType `json:"sequenceId,omitempty"`
   101  }
   102  
   103  type OperatingConstraintsPowerLevelDataType struct {
   104  	SequenceId *PowerSequenceIdType `json:"sequenceId,omitempty" eebus:"key"`
   105  	Power      *ScaledNumberType    `json:"power,omitempty"`
   106  }
   107  
   108  type OperatingConstraintsPowerLevelDataElementsType struct {
   109  	SequenceId *ElementTagType `json:"sequenceId,omitempty"`
   110  	Power      *ElementTagType `json:"power,omitempty"`
   111  }
   112  
   113  type OperatingConstraintsPowerLevelListDataType struct {
   114  	OperatingConstraintsPowerLevelData []OperatingConstraintsPowerLevelDataType `json:"operatingConstraintsPowerLevelData,omitempty"`
   115  }
   116  
   117  type OperatingConstraintsPowerLevelListDataSelectorsType struct {
   118  	SequenceId *PowerSequenceIdType `json:"sequenceId,omitempty"`
   119  }
   120  
   121  type OperatingConstraintsResumeImplicationDataType struct {
   122  	SequenceId            *PowerSequenceIdType   `json:"sequenceId,omitempty" eebus:"key"`
   123  	ResumeEnergyEstimated *ScaledNumberType      `json:"resumeEnergyEstimated,omitempty"`
   124  	EnergyUnit            *UnitOfMeasurementType `json:"energyUnit,omitempty"`
   125  	ResumeCostEstimated   *ScaledNumberType      `json:"resumeCostEstimated,omitempty"`
   126  	Currency              *CurrencyType          `json:"currency,omitempty"`
   127  }
   128  
   129  type OperatingConstraintsResumeImplicationDataElementsType struct {
   130  	SequenceId            *ElementTagType           `json:"sequenceId,omitempty"`
   131  	ResumeEnergyEstimated *ScaledNumberElementsType `json:"resumeEnergyEstimated,omitempty"`
   132  	EnergyUnit            *ElementTagType           `json:"energyUnit,omitempty"`
   133  	ResumeCostEstimated   *ScaledNumberElementsType `json:"resumeCostEstimated,omitempty"`
   134  	Currency              *ElementTagType           `json:"currency,omitempty"`
   135  }
   136  
   137  type OperatingConstraintsResumeImplicationListDataType struct {
   138  	OperatingConstraintsResumeImplicationData []OperatingConstraintsResumeImplicationDataType `json:"operatingConstraintsResumeImplicationData,omitempty"`
   139  }
   140  
   141  type OperatingConstraintsResumeImplicationListDataSelectorsType struct {
   142  	SequenceId *PowerSequenceIdType `json:"sequenceId,omitempty"`
   143  }