pub fn plan( inputs: &SoftInputs, idle: bool, rigid_bodies: u32, current: &SoftStreams, ) -> SoftDemand