Home

SFPLibDyn
SFPLibDyn is a library developed by SmartFluidPower for the dynamic simulation of hydraulic systems within Modelica-compatible environments, such as OpenModelica. The library provides a complete set of modular components for modeling oleodynamic circuits, with particular attention to the dynamic behavior of volumes, pressure losses, actuators and valves.
The physical model is based on the principle of separation between capacitive elements (accumulation) and resistive elements (losses), favoring a coherent and easily scalable network structure. Each component is described through physical differential equations, and the overall system is built through the graphical connection of blocks according to well-defined rules, which ensure energy conservation and dimensional consistency.
The library is designed to support:
- the transient analysis of hydraulic circuits,
- the validation of control strategies,
- the design of complex systems starting from real components.
SFPLibDyn also includes tools to define fluid properties, manage events such as cavitation and display results in a clear and intuitive way.
Lumped Parameter Simulation
With this type of simulation, it is possible to create diagrams consisting of blocks and connections.
Each block represents a system of differential equations in time, defined by the block designer. To correctly solve a simulation, it is important that each element declared in the diagram is totally defined, that is, that the number of variables equals the number of equations entered.
The connections instead "transmit" the value of the variables from one block to another, to transmit information or physical quantities by dividing, in fact, our system to simulate into subsystems.
0D/1D Simulation
In this simulation environment, geometries are not directly taken into account: each geometry must be discretized and simplified into "standard geometry". In this way, it is possible to divide the fluid system into submodels with known behavior.
The behavior of the individual submodels, considered simultaneously, provides the simulation result of the complete geometry.
Each discretized element does not spatially influence the neighboring one!
It means that in the case where we have two valves positioned very close, we can simulate the behavior of the valves subject to the pressure and flow values calculated in the circuit, but it is never possible to predict if a fluid jet interacts with the valves in an anomalous way.
It is instead possible to take into account a spatial dimension (1D). Thanks to the mechanical library, it is possible to simulate elements with one degree of freedom, therefore equipped with a spatial coordinate (whether linear or rotational) and everything that follows: the compression of a spring or the opening of a shutter... always respecting the principle of discretization into standard geometries.