Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions Zero_Interface-Loader.alpx
Original file line number Diff line number Diff line change
Expand Up @@ -368,6 +368,14 @@
<Imported>true</Imported>
<Folder>false</Folder>
</ClassPathEntry>
<ClassPathEntry>
<ResourceReference>
<PackageName>zerointerfaceloader</PackageName>
<ClassName>uplux.jar</ClassName>
</ResourceReference>
<Imported>true</Imported>
<Folder>false</Folder>
</ClassPathEntry>
<CloudModelUuid>ebade042-5518-4162-8eb5-f55439c67c64</CloudModelUuid>
</Model>
<ConvertersApplied>
Expand Down
9 changes: 9 additions & 0 deletions _alp/Agents/UI_EnergyHub/AOC.UI_EnergyHub.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,15 @@
<Id>1709049506453</Id>
<Name><![CDATA[UI_EnergyHub]]></Name>
<Folder>1754045666929</Folder>
<Import><![CDATA[import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.annotation.PropertyAccessor;
import com.fasterxml.jackson.annotation.JsonAutoDetect;

import java.io.IOException;

import energy.lux.uplux.*;
import java.util.UUID;]]></Import>
<StartupCode><![CDATA[zero_Interface.c_UIResultsInstances.add(uI_Results);]]></StartupCode>
<Generic>false</Generic>
<GenericParameter>
<Id>1709049506460</Id>
Expand Down
428 changes: 425 additions & 3 deletions _alp/Agents/UI_EnergyHub/Code/Functions.java

Large diffs are not rendered by default.

233 changes: 233 additions & 0 deletions _alp/Agents/UI_EnergyHub/Code/Functions.xml
Original file line number Diff line number Diff line change
Expand Up @@ -194,4 +194,237 @@
<ShowLabel>true</ShowLabel>
<Body xmlns:al="http://anylogic.com"/>
</Function>
<Function AccessType="default" StaticFunction="false">
<ReturnModificator>VOID</ReturnModificator>
<ReturnType>double</ReturnType>
<Id>1756805429105</Id>
<Name><![CDATA[f_loadScenario]]></Name>
<X>-370</X>
<Y>360</Y>
<Label>
<X>10</X>
<Y>0</Y>
</Label>
<PublicFlag>false</PublicFlag>
<PresentationFlag>true</PresentationFlag>
<ShowLabel>true</ShowLabel>
<Parameter>
<Name><![CDATA[index]]></Name>
<Type><![CDATA[int]]></Type>
</Parameter>
<Body xmlns:al="http://anylogic.com"/>
</Function>
<Function AccessType="default" StaticFunction="false">
<ReturnModificator>VOID</ReturnModificator>
<ReturnType>double</ReturnType>
<Id>1756805443177</Id>
<Name><![CDATA[f_saveScenario]]></Name>
<X>-370</X>
<Y>380</Y>
<Label>
<X>10</X>
<Y>0</Y>
</Label>
<PublicFlag>false</PublicFlag>
<PresentationFlag>true</PresentationFlag>
<ShowLabel>true</ShowLabel>
<Parameter>
<Name><![CDATA[scenarioName]]></Name>
<Type><![CDATA[String]]></Type>
</Parameter>
<Body xmlns:al="http://anylogic.com"/>
</Function>
<Function AccessType="protected" StaticFunction="false">
<ReturnModificator>VOID</ReturnModificator>
<ReturnType>double</ReturnType>
<Id>1756806431955</Id>
<Name><![CDATA[f_addMixins]]></Name>
<X>-710</X>
<Y>370</Y>
<Label>
<X>10</X>
<Y>0</Y>
</Label>
<PublicFlag>false</PublicFlag>
<PresentationFlag>true</PresentationFlag>
<ShowLabel>true</ShowLabel>
<Body xmlns:al="http://anylogic.com"/>
</Function>
<Function AccessType="public" StaticFunction="false">
<ReturnModificator>VOID</ReturnModificator>
<ReturnType>double</ReturnType>
<Id>1756806501010</Id>
<Name><![CDATA[f_setEngineInputDataAfterDeserialisation]]></Name>
<Description><![CDATA[Functie van gillis voor inladen weer data!]]></Description>
<X>-987</X>
<Y>310</Y>
<Label>
<X>10</X>
<Y>0</Y>
</Label>
<PublicFlag>false</PublicFlag>
<PresentationFlag>true</PresentationFlag>
<ShowLabel>true</ShowLabel>
<Parameter>
<Name><![CDATA[deserializedEnergyModel]]></Name>
<Type><![CDATA[EnergyModel]]></Type>
</Parameter>
<Body xmlns:al="http://anylogic.com"/>
</Function>
<Function AccessType="default" StaticFunction="false">
<ReturnModificator>VOID</ReturnModificator>
<ReturnType>double</ReturnType>
<Id>1756806501019</Id>
<Name><![CDATA[f_reconstructGridConnections]]></Name>
<X>-986.667</X>
<Y>352</Y>
<Label>
<X>10</X>
<Y>0</Y>
</Label>
<PublicFlag>false</PublicFlag>
<PresentationFlag>true</PresentationFlag>
<ShowLabel>true</ShowLabel>
<Parameter>
<Name><![CDATA[deserializedEnergyModel]]></Name>
<Type><![CDATA[EnergyModel]]></Type>
</Parameter>
<Body xmlns:al="http://anylogic.com"/>
</Function>
<Function AccessType="default" StaticFunction="false">
<ReturnModificator>VOID</ReturnModificator>
<ReturnType>double</ReturnType>
<Id>1756806501029</Id>
<Name><![CDATA[f_reconstructEnergyModel]]></Name>
<X>-986.667</X>
<Y>332</Y>
<Label>
<X>10</X>
<Y>0</Y>
</Label>
<PublicFlag>false</PublicFlag>
<PresentationFlag>true</PresentationFlag>
<ShowLabel>true</ShowLabel>
<Parameter>
<Name><![CDATA[energyModel]]></Name>
<Type><![CDATA[EnergyModel]]></Type>
</Parameter>
<Body xmlns:al="http://anylogic.com"/>
</Function>
<Function AccessType="default" StaticFunction="false">
<ReturnModificator>VOID</ReturnModificator>
<ReturnType>double</ReturnType>
<Id>1756806501040</Id>
<Name><![CDATA[f_reconstructAgent]]></Name>
<X>-975</X>
<Y>429</Y>
<Label>
<X>10</X>
<Y>0</Y>
</Label>
<PublicFlag>false</PublicFlag>
<PresentationFlag>true</PresentationFlag>
<ShowLabel>true</ShowLabel>
<Parameter>
<Name><![CDATA[agent]]></Name>
<Type><![CDATA[Agent]]></Type>
</Parameter>
<Parameter>
<Name><![CDATA[pop]]></Name>
<Type><![CDATA[AgentArrayList]]></Type>
</Parameter>
<Parameter>
<Name><![CDATA[energyModel]]></Name>
<Type><![CDATA[EnergyModel]]></Type>
</Parameter>
<Body xmlns:al="http://anylogic.com"/>
</Function>
<Function AccessType="default" StaticFunction="false">
<ReturnModificator>VOID</ReturnModificator>
<ReturnType>double</ReturnType>
<Id>1756806501050</Id>
<Name><![CDATA[f_reconstructActors]]></Name>
<X>-987</X>
<Y>372</Y>
<Label>
<X>10</X>
<Y>0</Y>
</Label>
<PublicFlag>false</PublicFlag>
<PresentationFlag>true</PresentationFlag>
<ShowLabel>true</ShowLabel>
<Parameter>
<Name><![CDATA[deserializedEnergyModel]]></Name>
<Type><![CDATA[EnergyModel]]></Type>
</Parameter>
<Body xmlns:al="http://anylogic.com"/>
</Function>
<Function AccessType="default" StaticFunction="false">
<ReturnModificator>VOID</ReturnModificator>
<ReturnType>double</ReturnType>
<Id>1756806501060</Id>
<Name><![CDATA[f_reconstructGIS_Objects]]></Name>
<X>-987</X>
<Y>412</Y>
<Label>
<X>10</X>
<Y>0</Y>
</Label>
<PublicFlag>false</PublicFlag>
<PresentationFlag>true</PresentationFlag>
<ShowLabel>true</ShowLabel>
<Parameter>
<Name><![CDATA[deserializedEnergyModel]]></Name>
<Type><![CDATA[EnergyModel]]></Type>
</Parameter>
<Parameter>
<Name><![CDATA[c_GISObjects]]></Name>
<Type><![CDATA[ArrayList<GIS_Object>]]></Type>
</Parameter>
<Body xmlns:al="http://anylogic.com"/>
</Function>
<Function AccessType="default" StaticFunction="false">
<ReturnModificator>VOID</ReturnModificator>
<ReturnType>double</ReturnType>
<Id>1756806501070</Id>
<Name><![CDATA[f_reconstructGridNodes]]></Name>
<X>-987</X>
<Y>392</Y>
<Label>
<X>10</X>
<Y>0</Y>
</Label>
<PublicFlag>false</PublicFlag>
<PresentationFlag>true</PresentationFlag>
<ShowLabel>true</ShowLabel>
<Parameter>
<Name><![CDATA[deserializedEnergyModel]]></Name>
<Type><![CDATA[EnergyModel]]></Type>
</Parameter>
<Parameter>
<Name><![CDATA[c_gridNodes]]></Name>
<Type><![CDATA[ArrayList<GridNode>]]></Type>
</Parameter>
<Body xmlns:al="http://anylogic.com"/>
</Function>
<Function AccessType="default" StaticFunction="false">
<ReturnModificator>VOID</ReturnModificator>
<ReturnType>double</ReturnType>
<Id>1756806501080</Id>
<Name><![CDATA[f_reconstructOrderedCollections]]></Name>
<X>-990</X>
<Y>450</Y>
<Label>
<X>10</X>
<Y>0</Y>
</Label>
<PublicFlag>false</PublicFlag>
<PresentationFlag>true</PresentationFlag>
<ShowLabel>true</ShowLabel>
<Parameter>
<Name><![CDATA[saveObject]]></Name>
<Type><![CDATA[J_ModelSave]]></Type>
</Parameter>
<Body xmlns:al="http://anylogic.com"/>
</Function>
</Functions>
Loading