diff --git a/src/main/scala/edu/ie3/simona/agent/participant/hp/HpAgentFundamentals.scala b/src/main/scala/edu/ie3/simona/agent/participant/hp/HpAgentFundamentals.scala index 0b55667466..a146f3d59b 100644 --- a/src/main/scala/edu/ie3/simona/agent/participant/hp/HpAgentFundamentals.scala +++ b/src/main/scala/edu/ie3/simona/agent/participant/hp/HpAgentFundamentals.scala @@ -7,8 +7,14 @@ package edu.ie3.simona.agent.participant.hp import edu.ie3.datamodel.models.input.system.HpInput -import edu.ie3.datamodel.models.result.system.{HpResult, SystemParticipantResult} -import edu.ie3.datamodel.utils.validation.{ThermalUnitValidationUtils, ValidationUtils} +import edu.ie3.datamodel.models.result.system.{ + HpResult, + SystemParticipantResult, +} +import edu.ie3.datamodel.utils.validation.{ + ThermalUnitValidationUtils, + ValidationUtils, +} import edu.ie3.simona.agent.ValueStore import edu.ie3.simona.agent.participant.ParticipantAgent.getAndCheckNodalVoltage import edu.ie3.simona.agent.participant.ParticipantAgentFundamentals @@ -16,19 +22,35 @@ import edu.ie3.simona.agent.participant.data.Data import edu.ie3.simona.agent.participant.data.Data.PrimaryData.ComplexPowerAndHeat import edu.ie3.simona.agent.participant.data.secondary.SecondaryDataService import edu.ie3.simona.agent.participant.hp.HpAgent.neededServices -import edu.ie3.simona.agent.participant.statedata.BaseStateData.{FlexControlledData, ParticipantModelBaseStateData} -import edu.ie3.simona.agent.participant.statedata.ParticipantStateData.{InputModelContainer, WithHeatInputContainer} -import edu.ie3.simona.agent.participant.statedata.{BaseStateData, ParticipantStateData} +import edu.ie3.simona.agent.participant.statedata.BaseStateData.{ + FlexControlledData, + ParticipantModelBaseStateData, +} +import edu.ie3.simona.agent.participant.statedata.ParticipantStateData.{ + InputModelContainer, + WithHeatInputContainer, +} +import edu.ie3.simona.agent.participant.statedata.{ + BaseStateData, + ParticipantStateData, +} import edu.ie3.simona.agent.state.AgentState import edu.ie3.simona.agent.state.AgentState.Idle import edu.ie3.simona.config.SimonaConfig.HpRuntimeConfig import edu.ie3.simona.event.notifier.NotifierConfig -import edu.ie3.simona.exceptions.agent.{AgentInitializationException, InconsistentStateException, InvalidRequestException} +import edu.ie3.simona.exceptions.agent.{ + AgentInitializationException, + InconsistentStateException, + InvalidRequestException, +} import edu.ie3.simona.io.result.AccompaniedSimulationResult import edu.ie3.simona.model.participant.HpModel.{HpRelevantData, HpState} import edu.ie3.simona.model.participant.{FlexChangeIndicator, HpModel} import edu.ie3.simona.model.thermal.ThermalGrid -import edu.ie3.simona.ontology.messages.flex.FlexibilityMessage.{FlexRequest, FlexResponse} +import edu.ie3.simona.ontology.messages.flex.FlexibilityMessage.{ + FlexRequest, + FlexResponse, +} import edu.ie3.simona.ontology.messages.services.WeatherMessage.WeatherData import edu.ie3.util.quantities.PowerSystemUnits.PU import edu.ie3.util.quantities.QuantityUtils.RichQuantityDouble @@ -438,7 +460,6 @@ trait HpAgentFundamentals s"Unable to initialize heat pump agent '${inputModel.electricalInputModel.getUuid}' without thermal grid model." ) case WithHeatInputContainer(_, thermalGrid) => - ThermalUnitValidationUtils.check(thermalGrid) /* Build the actual heat pump model */ HpModel(