Click or drag to resize

PointSourceBoundary Class

A source located at a specific point in the network. A PointSourceBoundary is always an inflow (a forcing).
Inheritance Hierarchy

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 PointSourceBoundary : AbstractLocationSourceBoundary, 
	IPointSourceBoundary, IAbstractLocationSourceBoundary, IBoundarySource, IBoundaryWithComponents, IBoundaryAdaptive, 
	IExtensibleDataObject

The PointSourceBoundary type exposes the following members.

Constructors
  NameDescription
Public methodPointSourceBoundary
Initializes a new instance of the PointSourceBoundary class
Top
Properties
  NameDescription
Public propertyBoundaryID
ID of boundary
(Inherited from AbstractSourceBoundary.)
Public propertyBoundarySourceType
Type of BoundarySource - always PointSource
(Overrides AbstractSourceBoundaryBoundarySourceType.)
Public propertyComponents
A list of all components sources attached to the source. Each component may have more than one entry in this list.
(Inherited from AbstractSourceBoundary.)
Public propertyExtensionData
Data from an extended DataContract not recognized here
Public propertyItems
A list of all items attached to the source
(Inherited from AbstractSourceBoundary.)
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.

(Inherited from AbstractSourceBoundary.)
Public propertyNodeLocations
A list of all NodeLocations
(Inherited from AbstractLocationSourceBoundary.)
Public propertyPointLocations
A list of all PointLocations
(Inherited from AbstractLocationSourceBoundary.)
Public propertyPointSourceBoundaryInflowType
Type of PointSourceBoundary. Used to limit the total inflow of a specific type.
Public propertyPointSourceType
Type of Point source boundary. Default is Inflow
Top
Methods
  NameDescription
Protected methodCalculateVariation
Calculate variation (as difference from linear interpolation between start and end)

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.

(Inherited from AbstractSourceBoundary.)
Protected methodDescription
Create a description of boundary, return as diagnostics item. Used as description when creating new diagnostics.
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 methodGetAccumulatedValue(DateTime, DateTime)
Get value for this source
(Overrides AbstractSourceBoundaryGetAccumulatedValue(DateTime, DateTime).)
Public methodGetAccumulatedValue(Int32, DateTime, DateTime)
Get accumulated value for component at given index at the given time span
(Inherited from AbstractSourceBoundary.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetNextComponentTransitionTime
Gets the next time for which there is a different value in the component boundary source.
(Inherited from AbstractSourceBoundary.)
Public methodGetNextTransitionTime
Gets the next time for which there is a different value in the boundary source.
(Inherited from AbstractSourceBoundary.)
Public methodGetPreferredTimeStep
Get preferred time step, which should not vary more than maxRelChange within the given time step.
Public methodGetScaleFactor(String)
Get the scale factor for a given NodeLocation
(Inherited from AbstractLocationSourceBoundary.)
Public methodGetScaleFactor(ILocation)
Get the scale factor for a given PointLocation
(Inherited from AbstractLocationSourceBoundary.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetValue(DateTime)
Get value for this source
(Overrides AbstractSourceBoundaryGetValue(DateTime).)
Public methodGetValue(Int32, DateTime)
Get value of the component in the boundary on the provided index.

The index is NOT into global index of AD components.

(Inherited from AbstractSourceBoundary.)
Public methodGetValueWithoutDWF
Get value for this source
(Overrides AbstractSourceBoundaryGetValueWithoutDWF(DateTime).)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodPrepare
Prepare source.
(Inherited from AbstractSourceBoundary.)
Public methodSetScaleFactor(String, Double, IDiagnostics)
Set the scale factor for a NodeLocation. By default all scale factors are 1.0.
(Inherited from AbstractLocationSourceBoundary.)
Public methodSetScaleFactor(ILocation, Double, IDiagnostics)
Set the scale factor for a PointLocation. By default all scale factors are 1.0.
(Inherited from AbstractLocationSourceBoundary.)
Public methodToString
Custom textual representation
(Overrides ObjectToString.)
Protected methodTryModify(Double, DateTime)
Try modify boundary value, if Modifier is not null
(Inherited from AbstractSourceBoundary.)
Public methodValidate
Validate whether this source is correctly setup
(Overrides AbstractSourceBoundaryValidate(DateTime, DateTime).)
Protected methodValidateItems
Validate _iItems of BoundarySource
(Inherited from AbstractSourceBoundary.)
Protected methodValidateLocations
Validate locations and scalefactors
(Inherited from AbstractLocationSourceBoundary.)
Top
Fields
  NameDescription
Protected field_boundaryID (Inherited from AbstractSourceBoundary.)
Protected field_iItems
A list of all items attached to the source
(Inherited from AbstractSourceBoundary.)
Top
Extension Methods
  NameDescription
Public Extension MethodFindTimeNextValue
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.)
Top
See Also