opyeb FlowSim

Guides

Fifteen articles on building a calculation as a graph and on the numbers that go into it. Every example can be reproduced with the templates in the simulator.

01Drawing a calculation as a DAG node graphNodes and wires show what feeds what. The conditions a DAG must satisfy, how to choose node types, and how to keep a graph readable as it grows.02Topological order: the algorithm that decides what to compute firstHow Kahn's algorithm orders a calculation, and why the fact that order does not change the answer matters more than it looks.03Cycle detection: why the calculation stops, and how to find the loopThe three ways a cycle appears, how to refuse one before it exists, and what to do with a loaded graph that already contains one.04Compounding with monthly contributionsThe recurrence behind a monthly savings plan, the two ways to convert an annual rate to a monthly one, and how to split principal from gain in a node graph.05Inflation and real return: separating the nominal from the realNominal versus real return, dividing by a price index, and the conditions under which the real value falls even as the balance rises.06Investment tax: 15.4% withholding and the after-tax returnHow a 15.4% withholding rate on interest and dividends changes compounding, how to compute after-tax return in steps, and how capital-gains tax differs.07MRR and churn: the two numbers behind SaaS growthThe recurrence that turns new customers and churn into a customer series and MRR, the equilibrium it converges to, and why churn is the cheaper lever.08CAC, LTV and payback: when the acquisition cost comes backHow acquisition cost, lifetime value and payback are computed, what each ratio really measures, and how to test the rule of thumb against your own numbers.09Runway: finding the month the cash runs outNet burn and runway, why the first-month version differs from a growing-revenue version, and how a cash series shows the month the balance crosses zero.10Power factor and the electricity billReal, reactive and apparent power, why the demand charge follows apparent power, and how much a correction to 0.95 saves each month.11Load factor and energy cost: same power, different billWhat load factor measures, how daily hours and working days build monthly consumption, and why peak demand drives the fixed part of the bill.12Reorder point and safety stock: the line inventory must not crossHow the reorder point and safety stock are computed, how lead time and demand variability each contribute, and how a drawdown curve makes it concrete.13Service level and the z value that sets safety stockThe two meanings of a service level, how to read the z table for a one-sided demand distribution, and how fast the buffer grows as the target rises.14The M/M/1 queue: why waiting time explodes near full utilisationUtilisation, waiting time and queue length in the M/M/1 model, why the last few points of utilisation cost the most, and how to choose headroom in practice.15Sensitivity analysis and the tornado chartHow a ±20% sensitivity pass works, how to read a tornado chart, what an asymmetric result tells you, and the trap of choosing the wrong output.
Back to the simulator