How cmudrc/sae works
SAE is a Python library for modelling Formula SAE car design as a constrained, multi-objective minimization problem. The principal workflow is to create a car (or request a feasible design), inspect or modify its parameter vector, then evaluate objectives and constraint penalties. COTS car designs and partworth objectives are additional documented capabilities. The sampled source is partial, so the graph shows only supported connections and groups several internal calculations into domain stages.
Main entry points: __init__.py Car model · resources Vehicle data tables
Components 14
Library API
- Feasible generator
sae/__init__.py - Parameter access
sae/__init__.py
Vehicle Design
- Car model
sae/__init__.py - COTS design
sae/__init__.py - Design vector
sae/__init__.py
Evaluation
- Objective evaluation
sae/__init__.py - 11 sub-objectives
sae/__init__.py - Design cost
sae/__init__.py - Bound penalties
sae/__init__.py - Linear penalties
sae/__init__.py - Nonlinear penalties
sae/__init__.py - Partworth objectives
sae/__init__.py
Design Data
- Vehicle data tables
sae/resources
Other components
- Library user
Connections 23
- Library user → Car model: constructs
- Library user → COTS design: constructs
- Library user → Feasible generator: requests
- Library user → Parameter access: reads or sets
- Library user → Objective evaluation: evaluates
- Library user → Design cost: evaluates
- Library user → Bound penalties: checks
- Library user → Linear penalties: checks
- Library user → Nonlinear penalties: checks
- Library user → Partworth objectives: evaluates
- Car model → Design vector: maintains
- Parameter access → Design vector: reads or updates
- COTS design → Car model: configures
- Feasible generator → Car model: generates
- Objective evaluation → 11 sub-objectives: evaluates
- Car model → Objective evaluation: evaluates
- Car model → Design cost: calculates
- Car model → Bound penalties: checks
- Car model → Linear penalties: checks
- Car model → Nonlinear penalties: checks
- Car model → Partworth objectives: evaluates
- Car model → Vehicle data tables: reads
- COTS design → Vehicle data tables: reads