or(
                &#34;solarblack must be either &#39;solarblack_oxygen&#39; or &#34;
                &#34;&#39;solarblack_carbon&#39;.&#34;)

        self.solarblack = solarblack
        self.materials = MATERIALS
        self.components = COMPONENTS
        self.components = dict()

        for name, layers in COMPONENTS.items():
            parts = []
            for material, thickness in layers:
                if material == &#39;solarblack&#39;:
                    material = self.solarblack
      