- Simulador *sim = new Simulador();
-
- sim->add_pump("bomba1");
- sim->add_conduct("c");
- sim->add_conduct("c1");
- sim->add_drainage("d");
- sim->add_tank("tanque");
-
- sim->connect("bomba1", "c", IConector::OUT);
- sim->connect("c", "tanque", IConector::OUT);
- sim->connect("tanque", "c1", IConector::OUT);
- sim->connect("c1", "d", IConector::OUT);