Click or drag to resize

BoundarySourceComponent Class

Boundary source for a component, containing either a concentration type source, a load type source, or a specific quantity.

The component sources are used by other than inflow boundaries, as e.g. a wind having a direction and a velocity component. These special types of component sources may require the components in a special order. They are identified by their Quantity value.

The connection to the AD components is defined by the ComponentId value. If that is null or empty, it is not an AD component.

Inheritance Hierarchy
SystemObject
  DHI.Mike1D.BoundaryModuleBoundarySourceComponent

Namespace:  DHI.Mike1D.BoundaryModule
Assembly:  DHI.Mike1D.BoundaryModule (in DHI.Mike1D.BoundaryModule.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax
public class BoundarySourceComponent

The BoundarySourceComponent type exposes the following members.

Constructors
  NameDescription
Public methodBoundarySourceComponent
Default constructor
Top
Properties
  NameDescription
Public propertyComponentId
The component id to use when coupling to the AD/ST module

If this is null then this is not an AD/ST component

Public propertyEumQuantity
The eum-quantity of the returned values. Used by engine to handle unit conversion of the values from the boundary to the engine.
Public propertyItems
A list of all items attached to the source
Public propertyModifier
A modifier that you can assign run-time to the setup, to handle e.g. putting noise to the model or in other ways change the value.

Default is null

The value is provided in the engine unit and must be returned in the engine unit.

Public propertyQuantity
Short-cut for setting ComponentId and EumQuantity
Public propertyType
Type of component source.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetValue
Get value of the component.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Protected methodTryModify
Try modify boundary value, if Modifier is not null
Top
Extension Methods
  NameDescription
Public Extension MethodIsLoad
Check if boundary source component is a load
(Defined by BoundaryExtensions.)
Top
See Also