Skip to main content

getNitrogenBalance

@svenvw/fdm-source


@svenvw/fdm-source / fdm-calculator/src / getNitrogenBalance

Variable: getNitrogenBalance

const getNitrogenBalance: any

Defined in: fdm-calculator/src/balance/nitrogen/index.ts:129

A cached version of the calculateNitrogenBalance function.

This function provides the same functionality as calculateNitrogenBalance but includes a caching mechanism to improve performance for repeated calls with the same input. The cache is managed by withCalculationCache and uses the pkg.calculatorVersion as part of its cache key.

Param

The input data for the nitrogen balance calculation.

Returns

A promise that resolves with the calculated nitrogen balance, with numeric values as numbers.