Skip to main content

OpenTD reference 2026 R1

Namespace OpenTD.Results.Dataset

Last update: 09.03.2026

Namespaces

OpenTD.Results.Dataset.Topology

Classes

AverageDataArray

A DerivedDataArray that returns the average value across its InputCollection for each record. DataArrays in the InputCollection must all be the same length and have the same data subtype.

Browser

Factory for creating a Browser.

CSR

A Dataset representing one CSR directory. Units are automatically read from the CSR, if available.

CompareAssertion

Contains a Comparer and an assertion about whether the Datasets it tests are expected to be equal.

CompareData

CompareSuite

Use a CompareSuite to test whether multiple pairs of Datasets are equal or not. Tests a set of CompareAssertions and collects the results.

Comparer

Use to compare two Datasets.

ConcatenatedDataset

A DerivedDataset that joins its InputDatasets together. Use it when you have multiple Datasets that represent sequential events. You can use the bool ShiftTimes to determine whether it adds the previous final time to all the times in the next Dataset. The default is that it does, i.e., it assumes that all of your input Datasets start at time 0.

ConductorHeat

Represents heatrate data for a conductor connection.

DataArray

Data is returned from Datasets in the form of DataArrays, which in addition to containing the actual data, also know the physical dimension of the data, what units it is in, and have a reference to the Dataset it came from. Use the GetValues methods to get the data as lists of doubles, or use DataArrays directly as inputs to SimplePlots.

DataArrayCollection

A collection of DataArrays, with some metadata describing them.

DataArrayEnumerator

Used internally when iterating over the values in a DataArray.

DataItemIdentifier

Identifies a data subtype (T, TL, PL, etc.) -- with an optional fluid constituent (A, B, W, etc.) -- associated with an "item" (an entity (node, lump, etc.), register, record number, etc.), e.g., MAIN.T6, FLOW.PL100, FLOW.GTA10, MYREGISTER DIMENSIONLESS. Note: the Units member is only applicable to registers. If null, default units will be assumed.

DataItemIdentifierCollection

Collection of DataItemIdentifiers

DataSubtype

Represents one data subtype, e.g., TL (lump temperature). If using C#, you can supply a StandardDataSubtype anywhere a DataSubtype is expected and it will be implicity converted to a DataSubtype. This also works with a FullStandardDataSubtype.

Dataset

An abstract class representing a set of solution results from a Sinda run. Returns data as DataArrays.

DatasetFactory

Use to load various datasets from disk.

DatasetSlice

A DerivedDataset that accepts only one InputDataset and returns data for a time slice within that Dataset. Use when you're only interested in a certain time slice within your results.

DerivedDataArray

A DerivedDataArray is a DataArray that gets its data by operating on its InputCollection of DataArrays. For example, a SelectMaxDataArray selects the DataArray with the maximum value and returns data from it only. An AverageDataArray returns the average value of its InputCollection at each record. To create your own custom DerivedDataArray, inherit from this class and override at least the SetDerivedData() method.

DerivedDataset

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.

FormulaDataArray

A DerivedDataArray that generate values using a formula that references 0 or more arrays from its InputCollection.

HeatratesBetween

Helper class for NodeHeatrates providing summary calculations for heatrates between "From" and "To" node collections. Positive heatrates indicate heat flowing out of the From set.

ItemIdentifier

A class to generalize "items" that are associated with data, e.g., entities (nodes, lumps, etc.), registers, record numbers, etc.

ItemIdentifierCollection

Collection of ItemIdentifiers

MaxDataArray

A DerivedDataArray that returns the maximum value across its InputCollection for each record. DataArrays in the InputCollection must all be the same length and have the same data subtype.

MinDataArray

A DerivedDataArray that returns the minimum value across its InputCollection for each record. DataArrays in the InputCollection must all be the same length and have the same data subtype.

NodeConductorHeatrates

Rerpesents a node and the heatrates for connected conductors.

NodeHeatrates

Holds a node and heatrates for its connected conductors and ties.

NodeTieHeatrates

Rerpesents a node and the heatrates for connected ties.

OneSubtypeDerivedDataArray

A derived data array where all DataArrays in the InputCollection have the same subtype, e.g., they are all arrays of TL data.

PercentDifferenceCompareData

This ICompareData implementation compares data of a single subtype (T, TL, etc.) for all applicable common entities (nodes or lumps or... etc.) between two datasets by examining the percent difference between pairs of values at each record for each common-named entity. For this comparison, Datasets must have the same number of records.

RadkDatabase

Dataset representing data stored in a radk database.

SaveFile

A Dataset representing one save file. Units are automatically read from the save file, if available.

SaveXFile

A Dataset representing one savex file. Units are automatically read from the savex file, if available.

SelectMaxDataArray

A SelectOneDataArray that selects the DataArray with the maximum value and returns data from it only.

SelectMinDataArray

A SelectOneDataArray that selects the DataArray with the minimum value and returns data from it only.

SelectOneDataArray

A DerivedDataArray that uses some criterion to select one of its input DataArrays and returns data solely from it.

SimpleDataset

Base class for simple datasets for which it might make sense to get all of the data at once using a single method. Implements the Implements the Implements the

SpreadsheetDataFile

Dataset representing data stored in a csv-style file. Each column is a series, while each row is a record. The first row contains DataItemIdentifiers. The second row contains units. Third and subsequent rows contain data. "NaN" or empty cells are treated as NaN. Default delimiters are comma and tab. All registers (except TIMEN) are considered dimensionless and their units are ignored. The name "time" (case-insensitive) can also be used for TIMEN.

SumDataArray

A DerivedDataArray that returns the sum across its InputCollection for each record. DataArrays in the InputCollection must all have the same data subtype.

TextTransientFile

Represents a TD text transient file, a text-file containing results or test data in a format specified in the TD manual. Implements the Implements the Implements the

TieHeat

Represents heatrate data for a tie connection.

UDFADescriptor

Describes a user-defined Fortran array (UDFA)

WeightedAverageDataArray

A DerivedDataArray that returns a weighted average value across its InputCollection for each record. DataArrays in the InputCollection must all be the same length and have the same data subtype. Note: if IgnoreNaNInCalculations is true, NaN in input and weighting arrays will be treated as 0.0.

Structs

Exceedance

Contains information about an item that exceeds a tolerance.

ExceedancePlot

Contains information about a plot that displays an Exceedance.

FullStandardDataSubtype

Represents a StandardDataSubtype (XG, XMDOT, etc.) and a fluid constituent (A, W, etc.)

Interfaces

IBasicDataset

IBrowser

IBrowser interface providing methods for Heatmap and HeatBetween nodes and node collecions.

ICompareData

Represents an algorithm for comparing all data of a single DataSubtype (T, TL, etc.) between two datasets. Objects that implement this interface can be used within Comparer.ComparisonMethods or Comparer.DefaultComparisonMethod. See PercentDifferenceCompareData for an example implementation.

IComparerInput

Collects together all of the Comparer members that will be input to an ICompareData object.

IComparerOutput

Collects together all of the Comparer members that will be output from an ICompareData object.

IDataset

An interface to save files, CSR's, spreadsheets and other objects that store solution data.

ISimpleDataset

Provides a method to get all data at once from a small dataset.

Enums

ArrayIntegerNames

Sinda results standard names for integer arrays.

DataTypeFamilies

Results data families (thermal, fluid, etc.)

DataTypes

Results data types (node, lump, etc.)

FluidConstituents

For fluid submodels with multiple fluid constituents.

IntegerNames

Sinda results standard integer names.

StandardDataSubtypes

Results data subtypes (T, TL, PL, etc.)

ItemIdentifier.Types

Item Identifier types: register name, SUBMODEL.ID, etc.

UDFAType

Type of entity (if any) associated with UDFA

DataSubtype.ValueTypes

Value types: double, integer, etc.

Connect with Ansys