Function Value: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
(59 intermediate revisions by 6 users not shown)
Line 1: Line 1:
Function values are specific values which form the general properties of any [[construction]] with a specific function. A function has many function values, and any construction of that function also has those function values.
Function values are specific values which form the general properties of any [[building]] with a specific [[function]]. A function has many function values, and any building of that function also has those function values.


Function values can be changed for an individual construction, or for a function, which in turn would affect all constructions of that function.
Function values can be changed for an individual building, or for a function, which in turn would affect all buildings of that function.
 
===Overwrites===
Function Values can be defined on several levels. Primarily, they can be defined on [[Functions]]. The Function Values of Functions can be overwritten by adding them to the [[How to add Functions for editing|Function Values Table]]. Additionally, a Function can be duplicated, and that new Function will effectively have the same values of the original Function. Lastly, regardless of the Function a [[Building]] has, it can have its own Function Values as well. This means the used Function Values are determined as follows:
 
* If a [[building]] has their own Function Value set, that value is used.
* Otherwise, if the building's Function has an explicit Function Value defined, that value is used.
* Otherwise, if that Function was created by duplicating another Function, that Function's value is used. This step is repeated until either a value is found, or the original Function (from which all the others are derived) is found.
* The original Function always has a valid Function Value.


===Category values===
===Category values===
Some function values are construction-related, and some function values are category-related. The difference between them is only applicable if a single function consists of multiple [[Function Category|function categories]]. For example, the function value indicating the maximum amount of floors for the construction is related to the construction as a whole. However, if the function contains both social housing and luxury housing, the individual types of housing can have different unit sizes configured, as one type of housing may offer bigger housing units than the other.
Some function values are building-related, and some function values are category-related. The difference between them is only applicable if a single function consists of multiple [[Function Category|function categories]]. For example, the function value indicating the maximum amount of floors for the building is related to the building as a whole. However, if the function contains both social housing and luxury housing, the individual types of housing can have different unit sizes configured, as one type of housing may offer bigger housing units than the other.
 
When accessing a category value as an attribute, the attribute's name is prefixed by the category's name. For example: <code>UNIT_SIZE_M2</code> becomes <code>SOCIAL_UNIT_SIZE_M2</code>.


==Overview of all function values==
==Overview of all function values==
Most function values have specific effects in the context of the Tygron Platform. Individual function values can be grouped into categories based on their effects or themes.
Most function values have specific effects in the context of the {{software}}. Individual function values can be grouped into categories based on their effects or themes.


===Name===
===Name===
{|class=wikitable
{{Function values|suppresscategory=true
! Function value
| {{Function values|type=row
! Attribute
  |functionvalue= | linkoverride=Name
! Unit
  |attribute=(Property of function value)
! Per category
  |unit=text
! Description
  |category=
|-
  |description=The name of the Function.
| Name
  }}
| (Property of function value)
}}
| text
|
| The name of the Function.
|}


===Assets and visualisation===
===Assets and visualisation===
{{Function values table start}}
{{Function values|suppresscategory=yes|
|-
{{Function values|type=row
| Image
  |functionvalue= | linkoverride=Image
| (Property of function value)
  |attribute=(Property of function value)
| {{image|dimensions=200x100}}
  |unit={{image|dimensions=200x100}}
|
  |category=
| The image used to represent this function. This property is currently unused.
  |description=The image used to represent this function. This property is no longer used.
  }}
{{:Extra color (Function Value)}}
{{:Ground color (Function Value)}}
{{:Roof color (Function Value)}}
{{:Roof color (Function Value)}}
{{:Ground color (Function Value)}}
{{:Terrain mix (Function Value)}}
{{:Extra color (Function Value)}}
{{:Top color (Function Value)}}
{{:Top color (Function Value)}}
|-
{{Function values|type=row
| Description
  |functionvalue= | linkoverride=Description
| (Property of function value)
  |attribute=(Property of function value)
| text
  |unit=text
|
  |category=
| The textual description of this function, which is displayed to the user when using this function as as [[action]].
  |description=The textual description of this function, which is displayed to the user when using this function as as [[action]].
{{table end}}
  }}
}}


===Construction===
===Construction===
{{Function values table start}}
{{Function values|suppresscategory=yes|
{{:Align elevation (Function Value)}}
{{:Category weight (Function Value)}}
{{:Category weight (Function Value)}}
{{:Construction time in months (Function Value)}}
{{:Default floors (Function Value)}}
{{:Default floors (Function Value)}}
{{:Demolish time in months (Function Value)}}
{{:Floating (Function Value)}}
{{:Floor height m (Function Value)}}
{{:Floor height m (Function Value)}}
{{:Height offset (Function Value)}}
{{:Max floors (Function Value)}}
{{:Max floors (Function Value)}}
{{:Min floors (Function Value)}}
{{:Min floors (Function Value)}}
{{:Monumental (Function Value)}}
{{:Monumental (Function Value)}}
{{:Slanting roof height (Function Value)}}
{{:Slanting roof height (Function Value)}}
{{:Solar panels (Function Value)}}
{{:Solid (Function Value)}}
{{:Unit size (Function Value)}}
{{:Unit size (Function Value)}}
{{:Zoning permit required (Function Value)}}
{{:Zoning permit required (Function Value)}}
{{Table end}}
}}


===Environment===
===Environment===
{{Function values table start}}
{{Function values|suppresscategory=yes|
{{:Bowen ratio (Function Value)}}
{{:Critical infrastructure (Function Value)}}
{{:Critical infrastructure (Function Value)}}
{{:Distance zone (Function Value)}}
{{:Distance zone m (Function Value)}}
{{:Disturbance distance (Function Value)}}
{{:Disturbance distance (Function Value)}}
{{:Green space (Function Value)}}
{{:Foliage crown factor (Function Value)}}
{{:Heat effect (Function Value)}}
{{:Heat effect (Function Value)}}
{{:Livability effect (Function Value)}}
{{:Livability effect (Function Value)}}
{{:Safety distance (Function Value)}}
{{:Safety distance m (Function Value)}}
{{Table end}}
{{:Vegetation fraction (Function Value)}}
}}


===Financial===
===Financial===
{|class=wikitable
{{Function values|suppresscategory=yes|
! Function value
{{:Buyout cost (Function Value)}}
! Attribute
{{:Construction cost (Function Value)}}
! Unit
{{:Demolition cost (Function Value)}}
! Per category
{{:Sell price (Function Value)}}
! Description
}}
|-
| Buyout cost
| BUYOUT_COST_M2
| [[currency]]/m²
| Yes
| How much it costs, in addition to the demolition costs, to demolish this construction during a [[session]], when the construction is ''not'' [[vacant]]. These costs are due to eviction or buyout of existing tenants.
|-
| Construction cost
| CONSTRUCTION_COST_M2
| [[currency]]/m²
| Yes
| How much it costs to create a new construction, when using this function as an [[action]] during a [[session]].
|-
| Demolition cost
| DEMOLISH_COST_M2
| [[currency]]/m²
| Yes
| How much it costs to demolish this construction during a [[session]]. If the construction is not [[vacant]], the buyout costs are applicable as well, in addition to the demolition costs.
|-
| Sell price
| SELL_PRICE_M2
| [[currency]]/m²
| Yes
| How much revenue is generated for the owner, when a construction of this function is created during a [[session]]. The income is only generated once, when the construction of the Construction has completed.
|}


===Network===
===Network===
{|class=wikitable
{{Function values|suppresscategory=yes|
! Function value
{{:Heat flow change per year (Function Value)}}
! Attribute
{{:Heat flow formula start year (Function Value)}}
! Unit
{{:Heat flow to power multiplier (Function Value)}}
! Per category
{{:Heat flow value at start year (Function Value)}}
! Description
{{:Pipes permitted (Function Value)}}
|-
}}
| Heat flow change per year
| HEAT_FLOW_M2_CHANGE_PER_YEAR
| m²/year
| Yes
| For any [[net load]] connected to an address part of a construction of this function, the amount of resources (FLOW) requested in addition to those in the starting year during every subsequent year. The amount of resources requested starts at HEAT_FLOW_M2_START_VALUE in the start year, and is then increased by this value every year until the building's year of construction, and finally multiplied by the size of the address(es) the net load is associated with to get a default FLOW value for the net load.
|-
| Heat flow formula start year
| HEAT_FLOW_M2_START_YEAR
| year
| Yes
| For any [[net load]] connected to an address part of a construction of this function, the start year for the calculation of the amount of resources (FLOW) requested. The amount of resources requests starts at HEAT_FLOW_M2_START_VALUE in this year, and is then increased by HEAT_FLOW_M2_CHANGE_PER_YEAR every year until the building's year of construction, and finally multiplied by the size of the address(es) the net load is associated with to get a default FLOW value for the net load.
|-
| Heat flow to power multiplier
| HEAT_POWER_TO_FLOW_MULTIPLIER
| factor
| Yes
| For any [[net load]] connected to an address part of a construction of this function, the divisor used to convert the automatically calculated FLOW to an automatically calculated POWER attribute. The automatically calculated FLOW divided by this value is the automatically calculated POWER. Note that an explicitly defined FLOW attribute is ''not'' used in this calculation.
|-
| Heat flow value at start year
| HEAT_FLOW_M2_START_VALUE
| m²
| Yes
| For any [[net load]] connected to an address part of a construction of this function, the amount of resources (FLOW) requested by the net load in the defined starting year. This value is increased with the HEAT_FLOW_M2_CHANGE_PER_YEAR, until the building's year of construction, and finally multiplied by the size of the address(es) the net load is associated with to get a default FLOW value for the net load.
|-
| Pipes permitted
| PIPES_PERMITTED
| [[boolean]]
|
| Whether [[net line]]s are allowed to be [[generating network|generated]] under this construction.
|}


===Traffic===
===Traffic===
{|class=wikitable
Traffic is split up into two further categories, to differentiate between traffic which may apply to [[Traffic Overlay]]s and alternative types of traffic.
! Function value
 
! Attribute
====Car traffic====
! Unit
{{Function values|suppresscategory=yes|
! Per category
{{:Buses per hour (Function Value)}}
! Description
{{:Cars per hour (Function Value)}}
|-
{{:Trucks per hour (Function Value)}}
| Height offset
{{:Vans per hour (Function Value)}}
| HEIGHT_OFFSET_M
 
| m
{{:Bus jam factor (Function Value)}}
|
{{:Car jam factor (Function Value)}}
| How many meters above or below the calculated ground this construction should be visualized. This is intended for bridges, so that they can be lined up appropriately with the surrounding land.
{{:Truck jam factor (Function Value)}}
|-
{{:Van jam factor (Function Value)}}
| Lanes
{{:Lanes (Function Value)}}
| TRAFFIC_LANES
{{:Noise sigma (Function Value)}}
| integer
{{:Noise tau (Function Value)}}
|
{{:Parking lots (Function Value)}}
| How many lanes of traffic there are on this road. A negative value causes vehicles to move in the opposite direction. This is only relevant for roads, intersections, and bridges. This affects the visualisation.
{{:Parking lots demand (Function Value)}}
|-
{{:Speedlimit (Function Value)}}
| Noise sigma
}}
| TRAFFIC_NOISE_SIGMA
 
| dB(A)
====Other traffic====
|
 
| Difference in noise intensity of vehicles at their reference speed, used in the [[Traffic Model#Edit Traffic data|traffic model]]. Effectively a flat modifier in noise.
{{Function values|suppresscategory=yes|
|-
  {{:Airplanes per hour (Function Value)}}
| Noise tau
  {{:Bicycles per hour (Function Value)}}
| TRAFFIC_NOISE_TAU
  {{:Pedestrians per hour (Function Value)}}
| dB(A)
  {{:Ships per hour (Function Value)}}
|
  {{:Trains per hour (Function Value)}}
| Difference in noise intensity of vehicles for every order of magnitude difference with their reference speed, used in the [[Traffic Model#Edit Traffic data|traffic model]]. Effectively a speed-dependent modifier in noise.
  {{:Trams per hour (Function Value)}}
|-
}}
| Parking lots
| PARKING_LOTS_PER_M2
| parking lot/m²
| Yes
| How many parking lots are available per m² of this construction.
|-
| Parking lots demand
| PARKING_LOTS_DEMAND_PER_M2
| parking lot/m²
| Yes
| How many parking lots are required per m² of this construction.
|-
| Speedlimit
| TRAFFIC_SPEED
| km/h
|
| How fast vehicles move on this construction. This is only relevant for roads, intersections, and bridges. This affects the visualisation, and the calculations for the [[Traffic Noise (Overlay)|Traffic Noise Overlay]] and the [[Traffic NO2 (Overlay)|Traffic NO2 Overlay]]
|-
| Units per hour
| TRAFFIC_FLOW
| vehicles/h
|
| How many vehicles move over any given cross-section of the road per hour, spread across all lanes. This is only relevant for roads, intersections, and bridges. This affects the visualisation, and is part of the [[Traffic Model#Edit Traffic data|traffic model]], in turn affecting the calculations for the [[Traffic Noise (Overlay)|Traffic Noise Overlay]] and the [[Traffic NO2 (Overlay)|Traffic NO2 Overlay]].
|}


===Water===
===Water===
{|class=wikitable
{{Function values|suppresscategory=yes|
! Function value
{{:Connected to sewer area (Function Value)}}
! Attribute
{{:Depth of plant roots (Function Value)}}
! Unit
{{:Drainage (Function Value)}}
! Per category
{{:Ground infiltration per day (Function Value)}}
! Description
{{:Manning value (Function Value)}}
! Model-specific articles
{{:Water evaporation (Function Value)}}
|-
{{:Water microrelief (Function Value)}}
| Connected top sewer area
{{:Water storage (Function Value)}}
| SEWERED
}}
| [[boolean]]
|
| Whether this construction can be connected to a sewer.
| [[Sewered (Water Overlay)]]
|-
| Depth of plant roots
| ROOT_DEPTH_M
| m
|
| The depth of the roots of the plants of this construction.
| [[Root depth m (Water Overlay)]]
|-
| Drainage
| DRAINAGE
| m
|
| Whether this construction has drainage, which affects the calculation of the [[Subsidence (Overlay)|Subsidence Overlay]]. A negative value means passive drainage. A positive value means active drainage.
|
|-
| Ground infiltration per day
| GROUND_INFILTRATION_MD
| m/day
|
| The permeability of this construction to water trying to infiltrate into the ground.
| [[Ground infiltration md (Water Overlay)]]
|-
| Manning value
| WATER_MANNING
| s/(m<sup>1/3</sup>)
|
| The manning value of the construction, which is a roughness in regards to water flow.
| [[Water manning (Water Overlay)]]
|-
| Water evaporation
| WATER_EVAPORATION_FACTOR
| factor
|
| How much this construction facilitates water evaporating from the underground.
| [[Water evaporation factor (Water Overlay)]]
|-
| Water storage
| WATER_STORAGE_M2
| m³/m²
|
| How much water can be stored in this construction. This affects the calculation of the [[Water Storage (Indicator)|Water Storage Indicator]], and calculations of the [[Water Overlay]].
| [[Water storage m2 (Water Overlay)]]
|}


===Attributes===
===Attributes===
Besides the function values which are provided by default, it is possible to add user-defined attributes to function values as well. Any attribute added is automatically available as an attribute for all functions, and all constructions, although the default value of the attribute will be 0.
Besides the function values which are provided by default, it is possible to add user-defined attributes to function values as well. Any attribute added is automatically available as an [[Attribute]] for all [[Function]]s, and all [[Building]]s, although the default value of the [[Attribute]] will be 0.


User-defined attributes added to a function value always apply to the construction as a whole, and cannot be category-specific.
User-defined [[Attribute]]s added to a function value always apply to the building as a whole, and cannot be category-specific.
{|class=wikitable
{{Function values|suppresscategory=true
! Function value
| {{Function values|type=row
! Attribute
  |functionvalue= | linkoverride=&nbsp;
! Unit
  |attribute=[[Private yard (Building Attribute)|PRIVATE_YARD]]
! Per category
  |unit={{boolean}}
! Description
  |category=
|-
  |description=Whether the building is a private yard belonging to a residence or private stakeholder.
| (user defined)
  }}
| (user defined)
{{Function values|type=row
| (user defined)
  |functionvalue= | linkoverride=(user defined)
|
  |attribute=(user defined)
| Attributes can be used to assign any additional values or properties to functions and the constructions which derive from them.
  |unit=(user defined)
|}
  |category=
  |description=Attributes can be used to assign any additional values or properties to functions and the buildings which derive from them.
  }}
}}


==How-to's==
{{article end|
howtos=
* [[How to add Functions for editing]]
* [[How to add Functions for editing]]
* [[How to change Function Values for a Function]]
* [[How to change Function Values for a Function]]
* [[How to add an Attribute to a Function]]
* [[How to change Attributes for a Function]]
|seealso= * [[Function Values Table]]
*[[Function]]
*[[Function Override]]
|videos=
}}

Latest revision as of 14:55, 29 February 2024

Function values are specific values which form the general properties of any building with a specific function. A function has many function values, and any building of that function also has those function values.

Function values can be changed for an individual building, or for a function, which in turn would affect all buildings of that function.

Overwrites

Function Values can be defined on several levels. Primarily, they can be defined on Functions. The Function Values of Functions can be overwritten by adding them to the Function Values Table. Additionally, a Function can be duplicated, and that new Function will effectively have the same values of the original Function. Lastly, regardless of the Function a Building has, it can have its own Function Values as well. This means the used Function Values are determined as follows:

  • If a building has their own Function Value set, that value is used.
  • Otherwise, if the building's Function has an explicit Function Value defined, that value is used.
  • Otherwise, if that Function was created by duplicating another Function, that Function's value is used. This step is repeated until either a value is found, or the original Function (from which all the others are derived) is found.
  • The original Function always has a valid Function Value.

Category values

Some function values are building-related, and some function values are category-related. The difference between them is only applicable if a single function consists of multiple function categories. For example, the function value indicating the maximum amount of floors for the building is related to the building as a whole. However, if the function contains both social housing and luxury housing, the individual types of housing can have different unit sizes configured, as one type of housing may offer bigger housing units than the other.

When accessing a category value as an attribute, the attribute's name is prefixed by the category's name. For example: UNIT_SIZE_M2 becomes SOCIAL_UNIT_SIZE_M2.

Overview of all function values

Most function values have specific effects in the context of the Tygron Platform. Individual function values can be grouped into categories based on their effects or themes.

Name

Assets and visualisation

Construction

Environment

Financial

Network

Traffic

Traffic is split up into two further categories, to differentiate between traffic which may apply to Traffic Overlays and alternative types of traffic.

Car traffic

Other traffic

Water

Attributes

Besides the function values which are provided by default, it is possible to add user-defined attributes to function values as well. Any attribute added is automatically available as an Attribute for all Functions, and all Buildings, although the default value of the Attribute will be 0.

User-defined Attributes added to a function value always apply to the building as a whole, and cannot be category-specific.