public double getPriorityResourceSupply(String resourcename)
        {
            if (String.IsNullOrEmpty(resourcename))
            {
                Debug.LogError("[KSPI]: getAvailableResourceSupply resourcename is null or empty");
                return(0);
            }

            ResourceManager manager = getManagerForVessel(resourcename);

            if (manager == null)
            {
                return(0);
            }

            return(manager.GetPriorityResourceSupply(getPowerPriority()));
        }