From 07f3b2f9c5453ac50d595c08909754ce79201aa8 Mon Sep 17 00:00:00 2001 From: Naud Loomans <38351577+naudloomans@users.noreply.github.com> Date: Thu, 5 Feb 2026 13:52:06 +0100 Subject: [PATCH] Updates on stookdagen, ventilation, and increased irradiance to JEA_Building and avgc data --- Zero_Interface-Loader.alpx | 2 +- _alp/Agents/AVGC_data/Variables.xml | 30 ++++++++++++++++++++- _alp/Agents/Zero_Loader/Code/Functions.java | 19 ++++++++----- _alp/Agents/Zero_Loader/EmbeddedObjects.xml | 3 +++ _alp/Agents/Zero_Loader/Variables.xml | 19 +++++++++++++ 5 files changed, 65 insertions(+), 8 deletions(-) diff --git a/Zero_Interface-Loader.alpx b/Zero_Interface-Loader.alpx index d35a300e..97cb46e8 100644 --- a/Zero_Interface-Loader.alpx +++ b/Zero_Interface-Loader.alpx @@ -1,7 +1,7 @@ 1658477103134 diff --git a/_alp/Agents/AVGC_data/Variables.xml b/_alp/Agents/AVGC_data/Variables.xml index 2a52738a..7cac7bbc 100644 --- a/_alp/Agents/AVGC_data/Variables.xml +++ b/_alp/Agents/AVGC_data/Variables.xml @@ -2644,7 +2644,7 @@ https://warmtepomp-panel.nl/afgiftesysteem.html? -> 35 graden afgifte bij -10 gr NONE false - + 1768313716399 @@ -2988,4 +2988,32 @@ OL_GridConnectionInsulationLabel.G, 2.0 + + 1770224099145 + + 50 + 420 + + false + true + true + + + NONE + false + + + + + 1770224099143 + TEXT_BOX + 0 + 100 + NO_DELIMETER + + + diff --git a/_alp/Agents/Zero_Loader/Code/Functions.java b/_alp/Agents/Zero_Loader/Code/Functions.java index 0f8b79f2..bceffb6a 100644 --- a/_alp/Agents/Zero_Loader/Code/Functions.java +++ b/_alp/Agents/Zero_Loader/Code/Functions.java @@ -3407,7 +3407,7 @@ List f_getChargerProfile() } //Determine the solar absortion factor_m2 based on floor surface. -solarAbsorptionFactor_m2 = floorArea_m2 * avgc_data.p_solarAbsorptionFloorSurfaceScalingFactor_fr; //solar irradiance [W/m2] +solarAbsorptionFactor_m2 = floorArea_m2 * 4 * avgc_data.p_solarAbsorptionFloorSurfaceScalingFactor_fr; //solar irradiance [W/m2] //Determine the heat capacity of the building based on a cooldown period /* @@ -3423,8 +3423,7 @@ List f_getChargerProfile() */ //Determine the heat capacity of the building based on the floor surface and some factors -heatCapacity_JpK = (avgc_data.p_heatCapacitySizingSlope_JpKm2 * floorArea_m2 + avgc_data.p_heatCapacitySizingConstant_JpK) * avgc_data.p_heatCapacitySizingFactor_fr; - +heatCapacity_JpK = lossFactor_WpK * 3600 * 36; // (avgc_data.p_heatCapacitySizingSlope_JpKm2 * floorArea_m2 + avgc_data.p_heatCapacitySizingConstant_JpK) * avgc_data.p_heatCapacitySizingFactor_fr; //Create the thermal building asset parentGC.p_BuildingThermalAsset = new J_EABuilding( parentGC, maxPowerHeat_kW, lossFactor_WpK, energyModel.p_timeParameters, initialTemp_degC, heatCapacity_JpK, solarAbsorptionFactor_m2 ); @@ -3601,7 +3600,7 @@ else if (houseBuildingData.insulation_label() != null) { } } - +//traceln("Total space heat demand houses input " + roundToDecimal(totalSpaceHeatDemand_kwhpa/1000000,3) + "GWh"); /*ALCODEEND*/} double f_addEnergyAssetsToHouses(GCHouse house,Double electricityDemand_kwhpa,Double gasDemand_m3pa) @@ -3636,6 +3635,7 @@ J_HeatingPreferences f_getHouseHeatingPreferences() double dayTimeSetPoint_degC = 20; double startOfDayTime_h = 8; double startOfNightTime_h = 23; +double windowOpenSetpoint_degC = 25; if( randomTrue(0.5) ){ //50% kans op ochtend ritme nightTimeSetPoint_degC = uniform_discr(12,18); @@ -3658,12 +3658,17 @@ else if (randomTrue(0.5) ){ // 25% kans op hele dag aan startOfNightTime_h = uniform_discr(21,23); } +nightTimeSetPoint_degC = 18; +dayTimeSetPoint_degC = 20; +startOfDayTime_h = 8; +startOfNightTime_h = 22; +windowOpenSetpoint_degC = 25; + double maxComfortTemperature_degC = dayTimeSetPoint_degC + 2; double minComfortTemperature_degC = dayTimeSetPoint_degC - 2; //Create heating preferences class -J_HeatingPreferences heatingPreferences = new J_HeatingPreferences(startOfDayTime_h, startOfNightTime_h, dayTimeSetPoint_degC, nightTimeSetPoint_degC, maxComfortTemperature_degC, minComfortTemperature_degC); - +J_HeatingPreferences heatingPreferences = new J_HeatingPreferences(startOfDayTime_h, startOfNightTime_h, dayTimeSetPoint_degC, nightTimeSetPoint_degC, maxComfortTemperature_degC, minComfortTemperature_degC, windowOpenSetpoint_degC); return heatingPreferences; /*ALCODEEND*/} @@ -5146,6 +5151,8 @@ else if(numberOfResidents > 5){ f_addHotWaterDemand(house, hotWaterDemand_kWhpa); f_addCookingAsset(house, OL_EnergyAssetType.GAS_PIT, cookingDemand_kWhpa); +//For calibrating AVG data PBL loss factor +totalSpaceHeatDemand_kwhpa += spaceHeatingDemand_kwhpa; /*ALCODEEND*/} double f_estimateHouseDHWDemand_kWh(double floorSurface_m2) diff --git a/_alp/Agents/Zero_Loader/EmbeddedObjects.xml b/_alp/Agents/Zero_Loader/EmbeddedObjects.xml index ed70deae..b9f7281c 100644 --- a/_alp/Agents/Zero_Loader/EmbeddedObjects.xml +++ b/_alp/Agents/Zero_Loader/EmbeddedObjects.xml @@ -418,6 +418,9 @@ + + + false diff --git a/_alp/Agents/Zero_Loader/Variables.xml b/_alp/Agents/Zero_Loader/Variables.xml index cc04907b..e7783431 100644 --- a/_alp/Agents/Zero_Loader/Variables.xml +++ b/_alp/Agents/Zero_Loader/Variables.xml @@ -137,6 +137,25 @@ + + 1770280954566 + + -380 + 1020 + + false + true + true + + + + 1726584206064