Description
Retain the sign for inflow and negate for outflow.
A material balance tracks input, output, recovery, and unaccounted quantities on a common mass basis. A recovered amount is not automatically suitable for reuse.
Retain the sign for inflow and negate for outflow.
When to use this tool
Use Material Flow Single Boundary Sign when you need a supplied material-reconciliation or reuse share.
How to use the tool and how it works
- Enter magnitude, direction. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read signedFlow. Use the output convention below.
Require nonnegative magnitude and direction inflow or outflow. Retain the sign for inflow and negate for outflow.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| magnitude | Magnitude | Required. Finite number; minimum 0. |
| direction | Direction or sign convention stated above. | Required. Text; one of "inflow", "outflow"; maximum UTF-16 length 8192. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| signedFlow | Signed Flow | Required. Finite number. |
{
"input": {
"magnitude": 12,
"direction": "outflow"
},
"output": {
"signedFlow": -12
}
} Limitations and assumptions
- The boundary orientation is supplied; this does not verify a physical flow, units, conserved quantity, or a complete material balance.
- Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
- Numeric calculations use binary floating point unless exact decimal-integer arithmetic is explicitly stated. No hidden measurement tolerance or decimal rounding is added; nonfinite or out-of-contract results are rejected. Numeric signed-zero results are exported as zero.
Alternative or Complementary methods
Verify measurements, losses, and material qualification before interpreting recovery as usable production input.
References
Similar or alternative tools
- Work Energy Signed Ledger Step
Add signed netWorkJoules to nonnegative initialKineticEnergyJoules, requiring the sum nonnegative, and return finalKineticEnergyJoules.
- Non Combat Fuel Log Entry Balance
Return opening plus received minus consumed.