Worked examples

Jump to: navigation, search
Some images have been lost from this page during a recent server failure. We are working to restore the missing content.

This is a list of worked example models that were written in the spirit of experimentation while working on the functionality of ASCEND.

See also Category:Tutorials and Category:Examples.

Steam power station

ASCEND can model complete Rankine power cycles including regeneration and reheat. The same models work for a variety of fluids via FPROPS. See models/johnpye/fprops/rankine_fprops.a4c.

Note that the diagram below was created with Dia; we are working on a canvas-based modeller for ASCEND but it's still in early stages of development.

RankineRegenReheat.png Rankine-Ts.png

Four bar linkage


This example shows a (static) system with simple geometric constraints. It is solved for a range of angles for one member, and the position of the other members is determined. Then a nice plot is built up by repeated running the ASCEND model and accumulating the results using ExtPy.


Thermal equilibrium


This is a simple model of thermal equilibrium between two masses of steam with a simple constant heat transfer coefficient between them. The model uses external freesteam IAPWS-IF97 steam tables and the IDA integrator.

Graph of the temperatures of the two masses over time. The transition through the saturation region is visible.

Simple advection equation


This model is a study of the simple advection equation, following a discussion published by Carver and Hinds in Simulation (1978). Just as with the explicit integration method discussed in that paper, we also see instability when using the IDA implicit BDF integrator here. The output in each case was generated by copying the contents of the Integrator tab and pasting into OpenOffice and plotting there.

2p-upwind.png3p-upwind.png 4p-biased.pngCentral-diff.png

More examples

For some more detailed examples, see the page, which includes: