#inventory
2 APIs with this tag
Tank Volume API
Tank-gauging geometry as an API, computed locally and deterministically. The horizontal-cylinder endpoint computes the liquid volume in a partially-filled horizontal cylindrical tank from the fill height, the radius (or diameter) and the length, V = L·[r²·acos((r−h)/r) − (r−h)·√(2rh−h²)] — the non-linear relationship that makes a horizontal tank read so unintuitively, e.g. a tank filled to a quarter of its diameter holds only about 20 % of its capacity, while half height is exactly half full. The vertical-cylinder endpoint gives the straightforward V = π·r²·h for an upright tank. The sphere endpoint computes the volume in a spherical tank filled to a height h as the spherical cap V = π·h²·(3r−h)/3, exactly half the sphere at h = r. Every response returns the liquid volume in cubic metres and litres, the full capacity, and the fill percentage. All lengths are in metres. Everything is computed locally and deterministically, so it is instant and private. Ideal for industrial, fuel-station, agriculture, water-utility, chemical-storage and process app developers, tank-gauging, dipstick-to-volume and inventory tools, and IoT level sensors. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 3 endpoints. This is tank volume by geometry; for flow rate through a pipe use a flow-rate API.
api.oanor.com/tankvolume-api
Inventory Management API
Inventory-management maths as an API, computed locally and deterministically. The eoq endpoint computes the economic order quantity, EOQ = √(2·D·S/H) from the annual demand, the cost per order and the holding cost per unit per year — the order size that minimises total cost — and returns the number of orders per year, the days between orders and the annual ordering, holding and total costs (which are equal at the EOQ). The reorder endpoint computes the reorder point, daily demand × lead time + safety stock, the stock level at which to place the next order. The safety endpoint computes the safety stock for a target service level, Z × σ × √lead_time, where Z is the normal-distribution value for the service level (95 % gives 1.645) found by an exact inverse-normal calculation, so any service level works. Everything is computed locally and deterministically, so it is instant and private. Ideal for e-commerce, retail, warehouse and supply-chain app developers, stock-planning and procurement tools, and operations dashboards. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 3 endpoints. This is inventory optimisation; for break-even and cost-volume-profit use a break-even API.
api.oanor.com/inventory-api