Home

SolarPanelPrototype

A solar panel.

Parent

Properties

energy_source

Sets how this solar panel connects to the energy network. The most relevant property seems to be the output_priority.

picture

The picture displayed for this solar panel.

production

The maximum amount of power this solar panel can produce.

overlay

Overlay has to be empty or have same number of variations as picture.

performance_at_day

performance_at_night

solar_coefficient_property

Surface property must have a positive default value. When SolarPanelPrototype::solar_coefficient_property is set to point at a different surface property than "solar-power", then LuaSurface::solar_power_multiplier and SpaceLocationPrototype::solar_power_in_space will be ignored as the solar panel power output will be only affected by value of this surface property set on the surface using PlanetPrototype::surface_properties or LuaSurface::set_property.