public double supplyManagedFNResourceWithMinimumRatio(double supply, double ratio_min, String resourcename)
        {
            supply    = Math.Max(supply, 0);
            ratio_min = Math.Max(ratio_min, 0);

            if (!getOvermanagerForResource(resourcename).hasManagerForVessel(vessel))
            {
                return(0);
            }

            ORSResourceManager manager = getOvermanagerForResource(resourcename).getManagerForVessel(vessel);

            return(manager.managedPowerSupplyWithMinimumRatio(this, supply, ratio_min));
        }