create_cost_model
Create a new parametric cost model in Costable. Returns the model ID which is used by add_material_to_model, add_process_to_model, calculate_cost_model, and compare_manufacturing_countries.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Descriptive name for the cost model, e.g. 'Aluminium Enclosure Rev2'. | |
| batchQty | Yes | Batch / order quantity. Affects Wright's Law learning curve. | |
| marginRate | No | Profit margin as a decimal fraction (e.g. 0.15 = 15%). Defaults to 0.15. | |
| countryCode | Yes | Primary manufacturing country code (ISO 3166-1 alpha-2). | |
| overheadRate | No | Factory overhead as a decimal fraction (e.g. 0.25 = 25%). Defaults to 0.25. |