Versions in this module Expand all Collapse all v0 v0.7.0 Sep 21, 2024 v0.6.2 Aug 12, 2024 Changes in this version type CsLPCInterface + ConsumptionNominalMax func() (float64, error) + SetConsumptionNominalMax func(value float64) (resultErr error) type CsLPPInterface + ProductionNominalMax func() (float64, error) + SetProductionNominalMax func(value float64) (resultErr error) type EgLPCInterface + ConsumptionNominalMax func(entity spineapi.EntityRemoteInterface) (float64, error) type EgLPPInterface + ProductionNominalMax func(entity spineapi.EntityRemoteInterface) (float64, error) v0.6.1 Jul 16, 2024 v0.6.0 Jun 29, 2024 Changes in this version + var PhaseNameMapping = []model.ElectricalConnectionPhaseNameType + type CemCEVCInterface interface + ChargePlan func(entity spineapi.EntityRemoteInterface) (ChargePlan, error) + ChargePlanConstraints func(entity spineapi.EntityRemoteInterface) ([]DurationSlotValue, error) + ChargeStrategy func(remoteEntity spineapi.EntityRemoteInterface) EVChargeStrategyType + EnergyDemand func(remoteEntity spineapi.EntityRemoteInterface) (Demand, error) + IncentiveConstraints func(entity spineapi.EntityRemoteInterface) (IncentiveSlotConstraints, error) + TimeSlotConstraints func(entity spineapi.EntityRemoteInterface) (TimeSlotConstraints, error) + WriteIncentiveTableDescriptions func(entity spineapi.EntityRemoteInterface, data []IncentiveTariffDescription) error + WriteIncentives func(entity spineapi.EntityRemoteInterface, data []DurationSlotValue) error + WritePowerLimits func(entity spineapi.EntityRemoteInterface, data []DurationSlotValue) error + type CemEVCCInterface interface + AsymmetricChargingSupport func(entity spineapi.EntityRemoteInterface) (bool, error) + ChargeState func(entity spineapi.EntityRemoteInterface) (EVChargeStateType, error) + ChargingPowerLimits func(entity spineapi.EntityRemoteInterface) (float64, float64, float64, error) + CommunicationStandard func(entity spineapi.EntityRemoteInterface) (model.DeviceConfigurationKeyValueStringType, error) + EVConnected func(entity spineapi.EntityRemoteInterface) bool + Identifications func(entity spineapi.EntityRemoteInterface) ([]IdentificationItem, error) + IsInSleepMode func(entity spineapi.EntityRemoteInterface) (bool, error) + ManufacturerData func(entity spineapi.EntityRemoteInterface) (api.ManufacturerData, error) + type CemEVCEMInterface interface + CurrentPerPhase func(entity spineapi.EntityRemoteInterface) ([]float64, error) + EnergyCharged func(entity spineapi.EntityRemoteInterface) (float64, error) + PhasesConnected func(entity spineapi.EntityRemoteInterface) (uint, error) + PowerPerPhase func(entity spineapi.EntityRemoteInterface) ([]float64, error) + type CemEVSECCInterface interface + ManufacturerData func(entity spineapi.EntityRemoteInterface) (api.ManufacturerData, error) + OperatingState func(entity spineapi.EntityRemoteInterface) (model.DeviceDiagnosisOperatingStateType, string, error) + type CemEVSOCInterface interface + StateOfCharge func(entity spineapi.EntityRemoteInterface) (float64, error) + type CemOPEVInterface interface + CurrentLimits func(entity spineapi.EntityRemoteInterface) ([]float64, []float64, []float64, error) + LoadControlLimits func(entity spineapi.EntityRemoteInterface) (limits []LoadLimitsPhase, resultErr error) + WriteLoadControlLimits func(entity spineapi.EntityRemoteInterface, limits []LoadLimitsPhase, ...) (*model.MsgCounterType, error) + type CemOSCEVInterface interface + CurrentLimits func(entity spineapi.EntityRemoteInterface) ([]float64, []float64, []float64, error) + LoadControlLimits func(entity spineapi.EntityRemoteInterface) (limits []LoadLimitsPhase, resultErr error) + WriteLoadControlLimits func(entity spineapi.EntityRemoteInterface, limits []LoadLimitsPhase, ...) (*model.MsgCounterType, error) + type CemVABDInterface interface + EnergyCharged func(entity spineapi.EntityRemoteInterface) (float64, error) + EnergyDischarged func(entity spineapi.EntityRemoteInterface) (float64, error) + Power func(entity spineapi.EntityRemoteInterface) (float64, error) + StateOfCharge func(entity spineapi.EntityRemoteInterface) (float64, error) + type CemVAPDInterface interface + PVYieldTotal func(entity spineapi.EntityRemoteInterface) (float64, error) + Power func(entity spineapi.EntityRemoteInterface) (float64, error) + PowerNominalPeak func(entity spineapi.EntityRemoteInterface) (float64, error) + type ChargePlan struct + Slots []ChargePlanSlotValue + type ChargePlanSlotValue struct + End time.Time + MaxValue float64 + MinValue float64 + Start time.Time + Value float64 + type CsLPCInterface interface + ApproveOrDenyConsumptionLimit func(msgCounter model.MsgCounterType, approve bool, reason string) + ConsumptionLimit func() (LoadLimit, error) + ContractualConsumptionNominalMax func() (float64, error) + FailsafeConsumptionActivePowerLimit func() (value float64, isChangeable bool, resultErr error) + FailsafeDurationMinimum func() (duration time.Duration, isChangeable bool, resultErr error) + IsHeartbeatWithinDuration func() bool + PendingConsumptionLimits func() map[model.MsgCounterType]LoadLimit + SetConsumptionLimit func(limit LoadLimit) (resultErr error) + SetContractualConsumptionNominalMax func(value float64) (resultErr error) + SetFailsafeConsumptionActivePowerLimit func(value float64, changeable bool) (resultErr error) + SetFailsafeDurationMinimum func(duration time.Duration, changeable bool) (resultErr error) + type CsLPPInterface interface + ApproveOrDenyProductionLimit func(msgCounter model.MsgCounterType, approve bool, reason string) + ContractualProductionNominalMax func() (float64, error) + FailsafeDurationMinimum func() (duration time.Duration, isChangeable bool, resultErr error) + FailsafeProductionActivePowerLimit func() (value float64, isChangeable bool, resultErr error) + IsHeartbeatWithinDuration func() bool + PendingProductionLimits func() map[model.MsgCounterType]LoadLimit + ProductionLimit func() (LoadLimit, error) + SetContractualProductionNominalMax func(value float64) (resultErr error) + SetFailsafeDurationMinimum func(duration time.Duration, changeable bool) (resultErr error) + SetFailsafeProductionActivePowerLimit func(value float64, changeable bool) (resultErr error) + SetProductionLimit func(limit LoadLimit) (resultErr error) + type Demand struct + DurationUntilEnd float64 + DurationUntilStart float64 + MaxDemand float64 + MinDemand float64 + OptDemand float64 + type DurationSlotValue struct + Duration time.Duration + Value float64 + type EVChargeStateType string + const EVChargeStateTypeActive + const EVChargeStateTypeError + const EVChargeStateTypeFinished + const EVChargeStateTypePaused + const EVChargeStateTypeUnknown + const EVChargeStateTypeUnplugged + type EVChargeStrategyType string + const EVChargeStrategyTypeDirectCharging + const EVChargeStrategyTypeMinSoC + const EVChargeStrategyTypeNoDemand + const EVChargeStrategyTypeTimedCharging + const EVChargeStrategyTypeUnknown + type EgLPCInterface interface + ConsumptionLimit func(entity spineapi.EntityRemoteInterface) (limit LoadLimit, resultErr error) + FailsafeConsumptionActivePowerLimit func(entity spineapi.EntityRemoteInterface) (float64, error) + FailsafeDurationMinimum func(entity spineapi.EntityRemoteInterface) (time.Duration, error) + PowerConsumptionNominalMax func(entity spineapi.EntityRemoteInterface) (float64, error) + WriteConsumptionLimit func(entity spineapi.EntityRemoteInterface, limit LoadLimit, ...) (*model.MsgCounterType, error) + WriteFailsafeConsumptionActivePowerLimit func(entity spineapi.EntityRemoteInterface, value float64) (*model.MsgCounterType, error) + WriteFailsafeDurationMinimum func(entity spineapi.EntityRemoteInterface, duration time.Duration) (*model.MsgCounterType, error) + type EgLPPInterface interface + FailsafeDurationMinimum func(entity spineapi.EntityRemoteInterface) (time.Duration, error) + FailsafeProductionActivePowerLimit func(entity spineapi.EntityRemoteInterface) (float64, error) + PowerProductionNominalMax func(entity spineapi.EntityRemoteInterface) (float64, error) + ProductionLimit func(entity spineapi.EntityRemoteInterface) (limit LoadLimit, resultErr error) + WriteFailsafeDurationMinimum func(entity spineapi.EntityRemoteInterface, duration time.Duration) (*model.MsgCounterType, error) + WriteFailsafeProductionActivePowerLimit func(entity spineapi.EntityRemoteInterface, value float64) (*model.MsgCounterType, error) + WriteProductionLimit func(entity spineapi.EntityRemoteInterface, limit LoadLimit, ...) (*model.MsgCounterType, error) + type IdentificationItem struct + Value string + ValueType model.IdentificationTypeType + type IncentiveDescription struct + Currency model.CurrencyType + Id uint + Type model.IncentiveTypeType + type IncentiveSlotConstraints struct + MaxSlots uint + MinSlots uint + type IncentiveTableDescriptionTier struct + Boundaries []TierBoundaryDescription + Id uint + Incentives []IncentiveDescription + Type model.TierTypeType + type IncentiveTariffDescription struct + Tiers []IncentiveTableDescriptionTier + type LoadLimit struct + Duration time.Duration + IsActive bool + IsChangeable bool + Value float64 + type LoadLimitsPhase struct + IsActive bool + IsChangeable bool + Phase model.ElectricalConnectionPhaseNameType + Value float64 + type MaMGCPInterface interface + CurrentPerPhase func(entity spineapi.EntityRemoteInterface) ([]float64, error) + EnergyConsumed func(entity spineapi.EntityRemoteInterface) (float64, error) + EnergyFeedIn func(entity spineapi.EntityRemoteInterface) (float64, error) + Frequency func(entity spineapi.EntityRemoteInterface) (float64, error) + Power func(entity spineapi.EntityRemoteInterface) (float64, error) + PowerLimitationFactor func(entity spineapi.EntityRemoteInterface) (float64, error) + VoltagePerPhase func(entity spineapi.EntityRemoteInterface) ([]float64, error) + type MaMPCInterface interface + CurrentPerPhase func(entity spineapi.EntityRemoteInterface) ([]float64, error) + EnergyConsumed func(entity spineapi.EntityRemoteInterface) (float64, error) + EnergyProduced func(entity spineapi.EntityRemoteInterface) (float64, error) + Frequency func(entity spineapi.EntityRemoteInterface) (float64, error) + Power func(entity spineapi.EntityRemoteInterface) (float64, error) + PowerPerPhase func(entity spineapi.EntityRemoteInterface) ([]float64, error) + VoltagePerPhase func(entity spineapi.EntityRemoteInterface) ([]float64, error) + type TierBoundaryDescription struct + Id uint + Type model.TierBoundaryTypeType + Unit model.UnitOfMeasurementType + type TimeSlotConstraints struct + MaxSlotDuration time.Duration + MaxSlots uint + MinSlotDuration time.Duration + MinSlots uint + SlotDurationStepSize time.Duration