Environments Economics Update
environments_economics_updateSet the typed regional economics this environment states itself: energy price, floor-space cost, default material family, the cost-sheet surcharges (material overhead, residual production overhead, administration and selling, profit mark-up) with packaging, freight and duty, the price terms priced in 'im Hundert' (cash discount, sales commission, customer discount), and the inspection / holding scalars. Omit a field to keep it; send null to clear it, which stores nothing on this environment so the value inherits from the parent environment again and ends at the platform default. Takes effect on the next calculation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env_id | Yes | ||
| sga_pct | No | Administration and selling surcharge on manufacturing cost (0.12 = 12 %); null clears back to inherit / platform default. | |
| fai_cost | No | Flat first-article-inspection cost per lot, in the environment's currency; null clears back to inherit / platform default. | |
| margin_pct | No | Profit mark-up on total cost (0.10 = 10 %); null clears back to inherit / platform default, which adds none. | |
| margin_base | No | The base of the profit mark-up. 'selbstkosten' charges margin_pct on the total cost. 'netto_selbstkosten' charges it on the total cost without packaging, freight and duty — the base German public-contract pricing names. Null clears back to inherit / platform default, 'selbstkosten'. | |
| reject_rate_pct | No | Share of the parts this shop STARTS that it rejects, as a fraction (0.03 = 3 %, not 3). It is a yield, not a surcharge: to ship 100 good parts at 0.03 the shop starts 104, and the stock drawn for the four that never shipped is charged to the ones that did. Charged on the base reject_rate_base names: the material draw by default, or the whole part when the shop finds its rejects at final inspection. Must be below 0.5 — half a shop's output failing is a process problem, not a costing input. Null clears back to inherit / platform default, which rejects nothing. | |
| factor_first_off | No | First-article-inspection factor: scales a full inspection into the per-lot first-off time (0 = none, and an explicit 0 is a statement that survives). Null clears back to inherit / platform default. | |
| reject_rate_base | No | What a reject costs. 'material' charges the reject rate on the stock drawn for the parts that fail — the lower bound, right when rejects are found at the first operation. 'herstellkosten' charges it on the whole part before scrap (material, manufacturing and their overheads), the industry convention for end-item scrap found at final inspection. One method, never both. Null clears back to inherit / platform default, 'material'. | |
| cash_discount_pct | No | Customer cash discount (Kundenskonto) priced into the offer 'im Hundert' (0.02 = 2 %): it is a share of the target price that already contains it, so a customer who deducts it still pays the cash price. Null clears back to inherit / platform default, which prices none. | |
| duty_eur_per_part | No | Customs duty per unit, in the environment's currency; null clears back to inherit / platform default. | |
| energy_eur_per_kwh | No | Stated energy price per kWh, in the environment's currency; null clears back to inherit / platform default. | |
| sample_pct_default | No | In-process inspection sampling fraction (0..1). An explicit 0 switches sampling off and is a statement that survives; null clears back to inherit / platform default. | |
| space_eur_per_m2_y | No | Stated floor-space cost per m² and year, in the environment's currency; null clears back to inherit / platform default. | |
| freight_eur_per_part | No | Outbound freight per unit, in the environment's currency; null clears back to inherit / platform default. | |
| sales_commission_pct | No | Sales commission (Vertreterprovision) priced into the offer 'im Hundert', as a share of the target price. Null clears back to inherit / platform default, which prices none. | |
| customer_discount_pct | No | Customer discount (Kundenrabatt) priced into the offer 'im Hundert', as a share of the list price (the offer price). Null clears back to inherit / platform default, which prices none. | |
| material_overhead_pct | No | Procurement / storage surcharge on material cost (0.07 = 7 %); null clears back to inherit / platform default. | |
| packaging_eur_per_part | No | Packaging material per unit (Sondereinzelkosten des Vertriebs), in the environment's currency; the packing labour is priced on the labour line, not here. Null clears back to inherit / platform default. | |
| default_material_family | No | Default material family for calculations that name no grade (steel, stainless, aluminum, titanium, nickel, other); null clears back to inherit / platform default. | |
| production_overhead_pct | No | Surcharge on production wages (0.80 = 80 %); null clears back to inherit / platform default. | |
| scrap_credit_eur_per_kg | No | Scrap credit (Reststoffgutschrift): the flat return per kg of scrap, in the environment's currency — what the dealer pays less what sorting, containers and haulage cost you. Paid on the scrap a dealer buys (sheet skeleton, chips, cut-offs) wherever no scrap price is stated for that kind of scrap; never on a reusable remnant or on the part itself. The credit is never more than the material cost; it reduces the material before the material overhead and a material scrap allowance are charged. Null clears back to inherit / platform default, which credits nothing. | |
| subcontract_overhead_pct | No | Procurement overhead on subcontract work, as a fraction of the subcontract cost (0.05 = 5 %), charged inside the manufacturing cost. Null clears back to inherit / platform default, which adds none. | |
| holding_cost_rate_per_year | No | Imputed yearly interest rate on capital tied up in finished stock (0.08 = 8 %); null clears back to inherit / platform default. | |
| ordering_cost_eur_per_order | No | The buyer's fixed cost of placing and receiving one order, in the environment's currency; null clears back to inherit / platform default (0). | |
| eoq_holding_cost_per_kg_per_year | No | Storage charge for finished stock per kg and year; null clears back to inherit / platform default. |