How to define the state(color) of a traffic signal and how long the current state will last at simulation start (t=0)?
I want to define the state(color) of a traffic signal at t=0(simulation start) and how long the current state lasts. But I do not know what is the right way to do it. TrafficSignalAction can specify a state with certain condition, but it does not specify how many more seconds to go before changing to the next states.
Let me illustrate the question in the attachment. signal_controller_questions2.docx
And I also includes a traffic signal sample in the attachment since I have not seen any signal examples in released packages. Please take a look to see if my understanding is right.