how to make things only run when sun is up

Don't know how to use a machine? Looking for efficient setups? Stuck in a mission?
sader753
Burner Inserter
Burner Inserter
Posts: 13
Joined: Thu Apr 27, 2017 6:03 pm
Contact:

how to make things only run when sun is up

Post by sader753 »

how to make things only run when sun is up
Zavian
Smart Inserter
Smart Inserter
Posts: 1649
Joined: Thu Mar 02, 2017 2:57 am
Contact:

Re: how to make things only run when sun is up

Post by Zavian »

Switch to a pure solar power factorio, with no other source of power?
Koub
Global Moderator
Global Moderator
Posts: 7794
Joined: Fri May 30, 2014 8:54 am
Contact:

Re: how to make things only run when sun is up

Post by Koub »

Power them only with solar panels.
Or power them with another energy source, and add a power switch that turns off based on the condition that an accumulator not empty. And link this accumulator to a set of 6 solar panels and 1 radar out of your main electric grid. As soon as the solar panels will provide less than what the radar consumes, the accu will discharge gradually, and as soon as it is empty, the power switch will turn off, cutting your factory's power supply.
Koub - Please consider English is not my native language.
Loewchen
Global Moderator
Global Moderator
Posts: 9318
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: how to make things only run when sun is up

Post by Loewchen »

See this BP:

Code: Select all

0eNrVWMGOmzAQ/RefYQWGkCxqD/2OaoUcmGytGhvZZtt0xb/XDtkQiN3EWvXAJZEBP88bv3ljeEd71kMnKdeofEe0Flyh8vs7UvSVE2av6WMHqERUQ4sixElrR0owIuOOcGBoiBDlDfxGZTpEd2dqSbjqhNTxHpi+moyHlwgB11RTGGM4DY4V79s9SIM+rd4SxmJG2s7gdkKZKYLbFQ1MXEToaP5yg2zYaClYtYcf5I0KaR+pqax7qitzr7nMO1CpdHUT+RuVujdXpoVPT8QJGsGVJjZviR20HZFE2zXQVzSM9znUdgVlIVP78yoB+DU32qCyGF6GwWZuwRc/xnezNr6Zh2/2GN98bXzxFVc7zj3888f4Z+vb7zn/Zw//zSWMPX2NgRlwSeu4Ewxu07B5+tD908YFVgSZRbaaZKaLZO48ydwGFdN6+O8eFNMuyDzXw3+74O9rHs9BZrJe/j4zTZNLHC00tG/vGcqlElxgjx09zhD4Pybz2zyZ6SfNxLjER1Rjp/IkEwcm88NXUyda5jsM3uAkJ5jEiZIHophgItRQOWZm3pYvoFMPolyB1ObiDVx6DipC4g2kpA1UZjvqn2YX/8DcoS+4xcPBps5gcxfo5PEN1CYMGRsx7Ck/ieEGODt3zGSRBrdYz4iTWNU/1Do/4VMpeNwxomEuVrwQ6xczRfS668P13x1NYD3X1UGKtqLcYKDyQJiCsJOZFXyEsL9AUl9F7JyvQr4Gi50Yz4EKdlYTTgJRnLHgyeEOROn4nvqxT/2uqsKTffwSogEe1z9AebWffsbCfBuGl28X9xxsjCV3YoVaj7Op4E0gijuWUGfJ5+VfuDC3gZjZ0qzMm/zJE8qrzwsRMnpR46K7LU5wkaXFbhj+ApQJnl0=
The single lamp is exemplary for what ever you want to run at daytime you can replace it with a switch as well. By increasing/reducing the lamp array on the left you can define the minimal light that defines day.
Serenity
Smart Inserter
Smart Inserter
Posts: 1017
Joined: Fri Apr 15, 2016 6:16 am
Contact:

Re: how to make things only run when sun is up

Post by Serenity »

This:
https://wiki.factorio.com/Tutorial:Circ ... am_example

Though for steam engines I'd switch the offshore pumps directly. To turn off something else a power switch is fine. If you don't use an SR-Latch everything flickers around the switching point
Post Reply

Return to “Gameplay Help”