The paper presents a fluid power model library in the equation-based modelling language Modelica and shortly shows how the library can be used in simulation software such as Matlab. The library is built such that valves and actuators can be built by engineers rather than simulation specialists and so that it is possible to compile into executable code with as little effort as possible.