fn locate_switch( db: &Database, voltage: Float, dx: Float, mos: Mosaic, ) -> Result<(String, Switch), DBError>