public function getLCIAResult($type, $module)
    {
        if (in_array($module, self::$allowedModules) === false) {
            throw new \Exception('Module '.$module.' not allowed');
        }

        //$found = false;
        $value = 0;
        if (!$this->getXmlData()->LCIAResults) {
            return 0;
        }
        foreach ($this->getXmlData()->LCIAResults->LCIAResult as $result) {
            $resultType = $result->referenceToLCIAMethodDataSet->shortDescription;
            $resultType = (string) $resultType[0];
            if (preg_match($type, $resultType)) {
                //$found = true;
                foreach ($result->other->amount as $amount) {
                    $resultModule = (string) $amount->attributes()->module;
                    if ($resultModule === $module) {
                        $value = (float) $amount;

                        return $value;
                    }
                }
            } else {
                continue;
            }
        }

        //if (!$found) {
        //    throw new \Exception($type.': Type not found in LCIA result for Module '.$module.' in UUID:'.$this->getUUID());
        //}

        return $value;
    }