Skip to main content
Glama

Environments Economics Update

environments_economics_update
Destructive

Set 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

TableJSON Schema
NameRequiredDescriptionDefault
env_idYes
sga_pctNoAdministration and selling surcharge on manufacturing cost (0.12 = 12 %); null clears back to inherit / platform default.
fai_costNoFlat first-article-inspection cost per lot, in the environment's currency; null clears back to inherit / platform default.
margin_pctNoProfit mark-up on total cost (0.10 = 10 %); null clears back to inherit / platform default, which adds none.
margin_baseNoThe 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_pctNoShare 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_offNoFirst-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_baseNoWhat 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_pctNoCustomer 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_partNoCustoms duty per unit, in the environment's currency; null clears back to inherit / platform default.
energy_eur_per_kwhNoStated energy price per kWh, in the environment's currency; null clears back to inherit / platform default.
sample_pct_defaultNoIn-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_yNoStated floor-space cost per m² and year, in the environment's currency; null clears back to inherit / platform default.
freight_eur_per_partNoOutbound freight per unit, in the environment's currency; null clears back to inherit / platform default.
sales_commission_pctNoSales 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_pctNoCustomer 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_pctNoProcurement / storage surcharge on material cost (0.07 = 7 %); null clears back to inherit / platform default.
packaging_eur_per_partNoPackaging 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_familyNoDefault material family for calculations that name no grade (steel, stainless, aluminum, titanium, nickel, other); null clears back to inherit / platform default.
production_overhead_pctNoSurcharge on production wages (0.80 = 80 %); null clears back to inherit / platform default.
scrap_credit_eur_per_kgNoScrap 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_pctNoProcurement 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_yearNoImputed yearly interest rate on capital tied up in finished stock (0.08 = 8 %); null clears back to inherit / platform default.
ordering_cost_eur_per_orderNoThe 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_yearNoStorage charge for finished stock per kg and year; null clears back to inherit / platform default.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources