Net Load: Difference between revisions
mNo edit summary |
mNo edit summary |
||
Line 21: | Line 21: | ||
* REQUEST_CONSTRUCTION_APPROVAL: The load is currently not active, but the owner of the network would like to make it active, requiring permission of the load owner. | * REQUEST_CONSTRUCTION_APPROVAL: The load is currently not active, but the owner of the network would like to make it active, requiring permission of the load owner. | ||
* REQUEST_ZONING_APPROVAL: The net load is currently not active, but the owner of the load would like to make it active, requiring permission of the network owner. | * REQUEST_ZONING_APPROVAL: The net load is currently not active, but the owner of the load would like to make it active, requiring permission of the network owner. | ||
When requesting the time state of a net cluster, the furthest progressed time state among all net loads in the net cluster is returned. | |||
===Building=== | ===Building=== |
Revision as of 15:05, 24 October 2017
What are net loads
A load, in network simulation terms, is a supply or demand on a resource transport and distribution network. Such a network is composed of nodes connected by lines, in which the nodes with supply or demand are known as load nodes. Based on the supply and demand of various nodes in the network, it is possible to calculate the amount of resource flowing over the various lines.
How net loads relate to the Tygron Engine
In the Tygron Engine, a net load is a definition of supply or demand which connects to a net node to turn that node into a load node. A net load does have a geographical location in the 3D World which may be different from the net node is belongs to. Loads can be imagined as being the (geographical) destinations or origins of resources such as gas or electricity for GAS and ELECTRICITY networks respectively, while the net nodes and net lines form the extent of the distribution network.
Properties of net loads
Net loads have a number of properties related to their effect on the network. They also allow for the definitions of arbitrary attributes.
Root
The root net load indicates a reference net node or origin within the distribution network. Depending on the use-case, the root net load is often a resource supplier, although the net load can have any value for its supply or demand of resources. The Tygron Engine's built-in algorithm for generating networks requires that a root net load is present.
Time state
The time state of the net load indicates whether or not the net load is to be considered active in the network. The following time states are relevant for a net load:
- NOTHING: The net load is currently not active, and its supply/demand should be ignored.
- READY: The net load is currently active, and its supply/demand should be taken into account for calculations.
- REQUEST_CONSTRUCTION_APPROVAL: The load is currently not active, but the owner of the network would like to make it active, requiring permission of the load owner.
- REQUEST_ZONING_APPROVAL: The net load is currently not active, but the owner of the load would like to make it active, requiring permission of the network owner.
When requesting the time state of a net cluster, the furthest progressed time state among all net loads in the net cluster is returned.
Building
When a load is created or loaded in directly over a building, the load is linked to that building. This allows for queries to find the properties of constructions based on the state of the network. Loads are not required to be linked to buildings.
Attributes
Net loads can have any number of arbitrary attributes. One attribute name is reserved and has a special function.
Flow
The flow of a net load indicates the quantity of supply or demand that this net load represents. Positive numbers indicate a demand, and negative numbers indicate a supply. The flow is not a fixed property, but should be added to the net load as an attribute. By default, the attribute name FLOW is preferred. The specific attribute name used for this is defined as part of the settings of the net type.