Development

Contributing

xxxx

Development site

xxxxxx Coding guidelines. Process for adding models to the library.

Architecture overview

fixme: does this belong to trak?

xxx $int f(x)g(x)^2$ yy

xxx $$1/int f(x) dx$$ yy

xxxx $$\int \nabla f(x) = \int g(x)$$ bb

xxx

Adding a new class

Adding a new class, such as a model or a function, is usually easiest by extending existing class, or copying and modifying an existing class.

To add a component of a thermofluid flow device, the package Buildings.Fluid.Interface contains basic classes that can be extended. See Buildings.Fluid.Interface.UsersGuide for a description of these classes. Alternatively, simple models such as the models below may be used as a starting point for implementing new models for thermofluid flow devices:

Buildings.Fluid.HeatExchangers.HeaterCoolerPrescribed
For a device that adds heat to a fluid stream.
Buildings.Fluid.MassExchangers.HumidifierPrescribed
For a device that adds humidity to a fluid stream.
Buildings.Fluid.Chillers.Carnot
For a device that exchanges heat between two fluid streams.
Buildings.Fluid.MassExchangers.ConstantEffectiveness
For a device that exchanges heat and humidity between two fluid streams.