readModeColumn impure function
Requirements.LinearAnalysis.readModeColumn
· source
One column of a mode table (MA-HS-CSV: mode, f, zeta, meff_x, ...) by its header name
Extends Modelica.Icons.Function
One column of a mode table read at initialization: an MA-HS-CSV file whose first column is the mode's
number and whose other columns include f (the natural frequency [Hz]) and, optionally,
zeta (the damping ratio) and the effective-mass fractions meff_x, meff_y,
meff_z -- the table a finite-element modal run or an experimental modal analysis gives, and the
format of Chaperone's mode traces. The header row names the columns; each later row is one mode. Read in plain
Modelica (Streams.readLine, Strings.scanReal), so it needs no external code. Use
hasModeColumn to ask whether an optional
column is there.
Copyright © 2026 Model Based Innovation LLC. All rights reserved.
Inputs
| Name | Type | Description |
|---|---|---|
filePath input | String | The file's path -- a modelica:// URI resolved by the caller with loadResource, in a parameter of its own (as for readStateMatrix) |
nModes input | Integer | The number of modes: the table's rows read (the caller states it, as nx for readStateMatrix) |
name input | String | The column's header name: f [Hz], zeta [1], meff_x, meff_y, meff_z [1] |
Outputs
| Name | Type | Description |
|---|---|---|
values[…] output | Real | The column, one value per mode |