OpenSourceBoundary Class |
Namespace: DHI.Mike1D.BoundaryModule
The OpenSourceBoundary type exposes the following members.
Name | Description | |
---|---|---|
OpenSourceBoundary | Initializes a new instance of the OpenSourceBoundary class |
Name | Description | |
---|---|---|
BoundaryID |
ID of boundary
(Inherited from AbstractSourceBoundary.) | |
BoundarySourceType |
Type of boundary - always OpenSource
(Overrides AbstractSourceBoundaryBoundarySourceType.) | |
Components |
A list of all components sources attached to the source. Each component may have more than
one entry in this list.
(Inherited from AbstractSourceBoundary.) | |
ExtensionData |
Data from an extended DataContract not recognized here
| |
FlushFromBoundary |
If true, at water level boundaries, the initial boundary water level will be "flushed"
into the model as far as possible, and used as boundary conditions.
| |
Items |
A list of all items attached to the source
(Inherited from AbstractSourceBoundary.) | |
MixHalvingTime |
MixHalvingTime is time constant used to calculate boundary concentration mixing in
case of flow reversal at the boundary,
It specifies the the time it takes to half the influence of a previous outflow. A value of zero is undefined, and will disable mixing. Default value: 3600. Unit: [s] | |
Modifier |
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.
(Inherited from AbstractSourceBoundary.)Default is null The value is provided in the engine unit and must be returned in the engine unit. | |
NodeLocations |
A list of all NodeLocations
(Inherited from AbstractLocationSourceBoundary.) | |
OpenSourceBoundaryType |
Type of this OpenSourceBoundary
| |
PointLocations |
A list of all PointLocations
(Inherited from AbstractLocationSourceBoundary.) | |
UseMixing |
If true, then the AD module uses mixing when calculating boundary concentration in case of flow reversal at the boundary.
|
Name | Description | |
---|---|---|
CalculateVariation |
Calculate variation (as difference from linear interpolation between start and end)
(Inherited from AbstractSourceBoundary.)This method estimates the variation by checking values at 3 intermediate points within the interval. Since this looks up in the time series 5 times, there may be performance issues with this, so use with care. | |
Description |
Create a description of boundary, return as diagnostics item. Used as description when creating new diagnostics.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetAccumulatedValue(DateTime, DateTime) |
Get accumulated value for this source at the given time span
(Overrides AbstractSourceBoundaryGetAccumulatedValue(DateTime, DateTime).) | |
GetAccumulatedValue(Int32, DateTime, DateTime) |
Get accumulated value for component at given index at the given time span
(Inherited from AbstractSourceBoundary.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetNextComponentTransitionTime |
Gets the next time for which there is a different value in the component boundary source.
(Inherited from AbstractSourceBoundary.) | |
GetNextTransitionTime |
Gets the next time for which there is a different value in the boundary source.
(Inherited from AbstractSourceBoundary.) | |
GetScaleFactor(String) |
Get the scale factor for a given NodeLocation
(Inherited from AbstractLocationSourceBoundary.) | |
GetScaleFactor(ILocation) |
Get the scale factor for a given PointLocation
(Inherited from AbstractLocationSourceBoundary.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetValue(DateTime) |
Get value for this source
(Overrides AbstractSourceBoundaryGetValue(DateTime).) | |
GetValue(Int32, DateTime) |
Get value of the component in the boundary on the provided index.
(Inherited from AbstractSourceBoundary.)The index is NOT into global index of AD components. | |
GetValueWithoutDWF |
Get value for this source without items marked as dry weather flow
(Inherited from AbstractSourceBoundary.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Prepare |
Prepare source.
(Inherited from AbstractSourceBoundary.) | |
SetScaleFactor(String, Double, IDiagnostics) |
Set the scale factor for a NodeLocation. By default all scale factors
are 1.0.
(Inherited from AbstractLocationSourceBoundary.) | |
SetScaleFactor(ILocation, Double, IDiagnostics) |
Set the scale factor for a PointLocation. By default all scale factors
are 1.0.
(Inherited from AbstractLocationSourceBoundary.) | |
ToString | Returns a string that represents the current object. (Overrides ObjectToString.) | |
TryModify(Double, DateTime) |
Try modify boundary value, if Modifier is not null
(Inherited from AbstractSourceBoundary.) | |
Validate |
Validate this
(Overrides AbstractSourceBoundaryValidate(DateTime, DateTime).) | |
ValidateItems |
Validate _iItems of BoundarySource
(Inherited from AbstractSourceBoundary.) | |
ValidateLocations |
Validate locations and scalefactors
(Inherited from AbstractLocationSourceBoundary.) |
Name | Description | |
---|---|---|
_boundaryID | See BoundaryID (Inherited from AbstractSourceBoundary.) | |
_iItems |
A list of all items attached to the source
(Inherited from AbstractSourceBoundary.) |
Name | Description | |
---|---|---|
FindTimeNextValue |
Findes the time where the boundary source has a value that is non-zero. The
time interval is within the provided limits.
(Defined by BoundaryExtensions.) |