Tag: simulation

ncDataReader2 | 2.2.4

A new release 2.2.4 of ncDataReader2 is out. Some bugs were fixed and the API has slightly changed. This version should work both with Dymola and OpenModelica on Linux and Windows. When you have a DAP-enabled netcdf library  it will even fetch data from the web in background. I already did some Dymola simulations with…


Accessing external data from Modelica with ncDataReader2

This example demonstrates the use of the library ncDataReader2 to access data sets from Modelica in a way suitable for the simulation system. The access is handled via external functions from Modelica which read and interpolate the data stored in netCDF files. Dymola is used as the simulation system here. As ncDataReader2 is a simple,…


Smooth transition between functions with tanh()

The problem to get a smooth transition between two curves appears very often. I had this problem a lot when working with simulations of DAE systems where some parameters were defined by empiric functions that did not fit well at the intersection point. An approach that is very easy to implement is the use of…


ncDataReader2 | 2.2.0

A new release of ncDataReader2 is out. Changes include: switched from autoconf to cmake tested to compile on Linux, Windows and MacOS the easy API (EA) was completed EA works now with Modelica (Dymola): a weather file reader was implemented and tested with the  modelica library FluidFlow new documentation in english support for netCDF attributes…