NeqSim Cookbook
Quick, copy-paste recipes for common tasks. Each recipe is self-contained and ready to run.
Recipe Categories
| Category | Description |
|---|---|
| Thermodynamics Recipes | Fluids, flash, properties, phase envelopes |
| Process Recipes | Equipment, flowsheets, streams |
| Pipeline Recipes | Pressure drop, multiphase flow, slugging |
| Unit Conversion | Working with units in NeqSim |
Most Popular Recipes
π₯ Top 10 Quick Tasks
| Task | Recipe |
|---|---|
| Create a natural gas fluid | thermodynamics-recipes.md#create-natural-gas |
| Run a flash calculation | thermodynamics-recipes.md#run-tp-flash |
| Get density (correct way) | thermodynamics-recipes.md#get-density-correctly |
| Calculate phase envelope | thermodynamics-recipes.md#phase-envelope |
| Simple separator | process-recipes.md#two-phase-separator |
| Compressor with efficiency | process-recipes.md#compressor-with-efficiency |
| Pipeline pressure drop | pipeline-recipes.md#simple-pressure-drop |
| Export to JSON | thermodynamics-recipes.md#export-to-json |
| Set up recycle | process-recipes.md#recycle-stream |
| Which EoS to use? | thermodynamics-recipes.md#which-eos-should-i-use |
Recipe Format
Each recipe includes:
- β Problem: What youβre trying to do
- β Solution: Copy-paste code
- β Gotchas: Common mistakes to avoid
- β See also: Related recipes and documentation
API Reference
For complete API documentation, see:
- JavaDoc API - All classes and methods
- Reference Manual - Comprehensive guides