Skip to main content

OpenTD reference 2026 R1

Class DerivedDataset

Last update: 09.03.2026

Namespace: OpenTD.Results.Dataset
Assembly: OpenTD.Results.dll

A dataset derived from one or more input datasets. When you request data from a DerivedDataset, it performs an operation on the input datasets to combine their data. For example, a ConcatenatedDataset stitches together all of the data from its input datasets.

public abstract class DerivedDataset : RecordFocusedDataset, IDataset

Inheritance

object ← Dataset ← RecordFocusedDataset ← DerivedDataset

Derived

ConcatenatedDataset, DatasetSlice

Implements

IDataset

Inherited Members

Dataset.GetData(DataItemIdentifierCollection), Dataset.GetUdcaData(DataItemIdentifierCollection), Dataset.GetData(params string[]), Dataset.GetData(ItemIdentifierCollection, DataSubtype, UnitsData), Dataset.GetDataAtRecord(DataSubtype, long), Dataset.GetRegisterDataAtRecord(long, DataSubtype, UnitsData), Dataset.GetUdfasAtRecord(long), Dataset.GetUdcaDataAtRecord(DataSubtype, long), Dataset.GetConstraintData(long, DataSubtype, UnitsData), Dataset.GetReliabilityData(long, DataSubtype, UnitsData), Dataset.GetRegisterData(string, DataSubtype, UnitsData), Dataset.GetRecordNumbers(), Dataset.GetRecordNumbersAsDataArray(), Dataset.GetRecordNames(), Dataset.GetTimes(), Dataset.GetTimesOrRecordNumbers(), Dataset.GetNsol(long), Dataset.GetNpcsrec(long), Dataset.GetSigma(), Dataset.GetAbszro(), Dataset.GetPatmos(), Dataset.GetLoopctData(), Dataset.GetLoopcoData(), Dataset.GetNamedInt(IntegerNames), Dataset.GetNamedInt(string), Dataset.GetNamedIntArray(ArrayIntegerNames), Dataset.GetNamedIntArray(string), Dataset.GetThermalSubmodels(), Dataset.GetFluidSubmodels(), Dataset.GetRegisterNames(), Dataset.GetLumpIds(string), Dataset.GetPathIds(string), Dataset.GetTieIds(string), Dataset.GetFtieIds(string), Dataset.GetIfaceIds(string), Dataset.GetNodeIds(string), Dataset.GetConductorIds(string), Dataset.GetInternalIndex(DataTypes, string, long), Dataset.GetInternalIndex(string), Dataset.Units, Dataset.UnitsChangedSinceLastRead(), Dataset.Source, Dataset.Close(), Dataset.ReOpen(), Dataset.UDFAManager, Dataset.GetUDFAManager(), Dataset.AutoNamer, Dataset.Name, Dataset.InternalSuggestedName, Dataset.GetSelfSuggestedName(), Dataset.ToString(), Dataset.AutoCommenter, Dataset.Comment, Dataset.InternalSuggestedComment, Dataset.GetSelfSuggestedComment(), Dataset.Relay<T_collection, T_item>(T_collection), Dataset.Relay<T_item>(List<T_item>), object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

Constructors

DerivedDataset()

public DerivedDataset()

Properties

InputDatasets

The list of Datasets this derives its data from.

public List<IDataset> InputDatasets { get; set; }

Property Value

List<IDataset>

See Also

Dataset

Source

If the InputDatasets have a common source, it will be returned here.

public override string Source { get; protected set; }

Property Value

string

Exceptions

OpenTDException

Cannot set DerivedDataArray.SourceDataset directly. It will be derived from InputArrays.

Methods

CheckInputDatasets()

protected virtual void CheckInputDatasets()

Close()

public override void Close()

GetConductorIds(string)

Gets all unique conductor numbers from InputDatasets for a given submodel.

public override List<long> GetConductorIds(string submodel)

Parameters

submodel string

The submodel name.

Returns

List<long>

List<System.Int64>.

GetFluidSubmodels()

Gets all unique fluid submodel names from InputDatasets.

public override List<string> GetFluidSubmodels()

Returns

List<string>

List<System.String>.

GetFtieIds(string)

Gets all unique FTie numbers from InputDatasets for a given submodel.

public override List<long> GetFtieIds(string submodel)

Parameters

submodel string

The submodel name.

Returns

List<long>

List<System.Int64>.

GetIfaceIds(string)

Gets all unique IFace numbers from InputDatasets for a given submodel.

public override List<long> GetIfaceIds(string submodel)

Parameters

submodel string

The submodel name.

Returns

List<long>

List<System.Int64>.

GetLumpIds(string)

Gets all unique lump numbers from InputDatasets for a given submodel.

public override List<long> GetLumpIds(string submodel)

Parameters

submodel string

The submodel name.

Returns

List<long>

List<System.Int64>.

GetNodeIds(string)

Gets all unique node numbers from InputDatasets for a given submodel.

public override List<long> GetNodeIds(string submodel)

Parameters

submodel string

The submodel name.

Returns

List<long>

List<System.Int64>.

GetPathIds(string)

Gets all unique path numbers from InputDatasets for a given submodel.

public override List<long> GetPathIds(string submodel)

Parameters

submodel string

The submodel name.

Returns

List<long>

List<System.Int64>.

GetRegisterNames()

Gets all unique register names from InputDatasets.

public override List<string> GetRegisterNames()

Returns

List<string>

List<System.String>.

GetThermalSubmodels()

Gets all unique thermal submodel names from InputDatasets.

public override List<string> GetThermalSubmodels()

Returns

List<string>

List<System.String>.

GetTieIds(string)

Gets all unique tie numbers from InputDatasets for a given submodel.

public override List<long> GetTieIds(string submodel)

Parameters

submodel string

The submodel name.

Returns

List<long>

List<System.Int64>.

ReOpen()

public override void ReOpen()

See Also

Dataset, ConcatenatedDataset

Connect with Ansys