Reference · R2
Deck JSON schema
A .fsap deck is plain JSON: a list of nodes, a list of branches, the fluids in play, and solver settings. It diffs cleanly and version-controls.
{
"fluids": ["Water"],
"nodes": [
{"id": "IN", "type": "boundary", "P": 50, "unit": "psia"},
{"id": "OUT", "type": "boundary", "P": 14.7, "unit": "psia"}
],
"branches": [
{"from": "IN", "to": "OUT", "type": "pipe", "D": 0.025, "L": 2.0}
],
"solver": {"mode": "steady", "tol": 1e-9}
}