src/Controller/Visiteur/SiteclientController.php line 927

Open in your IDE?
  1. <?php
  2. namespace App\Controller\Visiteur;
  3. use App\DTO\AffichageGraphiqueDTO;
  4. use App\Entity\PluvioDatabase;
  5. use App\Entity\Pluviometrie;
  6. use App\Repository\PluviometrieRepository;
  7. use App\Entity\StationsMeteo;
  8. use App\Repository\StationsMeteoRepository;
  9. use App\Form\AffichageGraphiqueType;
  10. use App\Entity\Infiltration;
  11. use App\Entity\Pluvio;
  12. use App\DTO\ReutilisationDTO;
  13. use App\Form\InfiltrationType;
  14. use App\Repository\Fiche\FicheBatimentExempleRepository;
  15. use App\Repository\Fiche\FicheBatimentRepository;
  16. use App\Service\Fiche\FicheExempleService;
  17. use App\Service\Fiche\FicheBatimentImportService;
  18. use Doctrine\ORM\EntityManagerInterface;
  19. use http\Env\Response;
  20. use Knp\Bundle\SnappyBundle\KnpSnappyBundle;
  21. use Knp\Component\Pager\PaginatorInterface;
  22. use PhpOffice\PhpSpreadsheet\Writer\Pdf\Dompdf;
  23. use Spipu\Html2Pdf\Html2Pdf;
  24. use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
  25. use Symfony\Component\HttpFoundation\Request;
  26. use Symfony\Component\HttpFoundation\Session\Session;
  27. use Symfony\Component\Routing\Annotation\Route;
  28. use Symfony\Component\Security\Core\Security;
  29. use Psr\Log\LoggerInterface;
  30. use Symfony\Component\String\Slugger\AsciiSlugger;
  31. use ZipArchive;
  32. use Symfony\Component\Serializer\Normalizer\ObjectNormalizer;
  33. use Symfony\Component\Serializer\SerializerInterface;
  34. use Knp\Snappy\Pdf;
  35. use Knp\Snappy\Bundle\Snappy\Response\PdfResponse;
  36. class SiteclientController extends AbstractController {
  37.     const NB_FICHE_HOMEPAGE = 15;
  38.     const NB_INDEX = 20;
  39.     
  40.     protected function toFloat($value) {
  41.         $value = str_replace(',', '.', $value);
  42.         return floatval($value);
  43.     }
  44.         #[Route(path: '/', name: 'index')]
  45.     public function index(EntityManagerInterface $em, \App\Repository\PluvioDatabaseRepository $pluvioRepo,
  46.             Request $req, Session $session, Security $security, 
  47.             StationsMeteoRepository $stationsMeteoRepository, PluviometrieRepository $PluviometrieRepository) {
  48.         $idInitial = 0;
  49.         $session->start();
  50.         $lastPage = $session->get("lastPage");        
  51.         $calculEffectue = $session->get("calculEffectue");
  52.         if ($lastPage = "listePluvio"){
  53.             $idInitial = $session->get("pluvioId");
  54.         } elseif ($calculEffectue = 1) {
  55.             $idInitial = $session->get("pluvioId");
  56.         } else {
  57.              $idInitial = 0;
  58.         }
  59.         $show_complement=false;
  60.         $allowPDF=false;
  61.         $idFinal=0;
  62.         $session->set("lastPage", "index");
  63.         $this->em = $em;
  64.         $this->user = $security->getUser();
  65.         
  66.         //dump($idInitial);
  67.         if ($idInitial != null) {
  68.         $reutilisationDTO = $pluvioRepo->find($idInitial);
  69.         }
  70.         if ($idInitial == 0) {
  71.             $reutilisationDTO = new \App\Entity\PluvioDatabase();
  72.             $reutilisationDTO->setTauxRaccordement(100);
  73.             $reutilisationDTO->setCertivea(0);            
  74.             $reutilisationDTO->setCoutEau(4);
  75.             $reutilisationDTO->setCoutPompe(4000);
  76.             $reutilisationDTO->setchoixVolume(1000);
  77.             $reutilisationDTO->setCoutVolume(1000);
  78.             $reutilisationDTO->setChoixVolume2(4000);
  79.             $reutilisationDTO->setCoutVolume2(4000);            
  80.         } 
  81.         
  82.         $form = $this->createForm(\App\Form\ReutilisationType::class, $reutilisationDTO);
  83.         $form->handleRequest($req);
  84.         // $fichePluvio = $pluvioRepo->find($idInitial);
  85.         
  86.         $arrayReu = null;
  87.         if ($form->isSubmitted() && $form->isValid()) {
  88.         set_time_limit(100);
  89.             //climat et pluviometrie
  90.             
  91.             $AnneesCalculees = $reutilisationDTO->getAnneesCalculees();
  92.             dump($AnneesCalculees);
  93.             
  94.             $climat = $reutilisationDTO->getClimat();
  95.             $stationMeteo = $reutilisationDTO->getStationmeteo();
  96.             $ParisPluie = array(0.2, 1.6, 0, 0.8, 0, 0, 0.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0, 0, 0.4, 0, 0, 0, 0, 4.8, 41, 4.4, 14.1, 0, 1.2, 0, 0, 0, 0, 0, 0, 0, 0, 2.4, 0.2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1.4, 0.2, 1.4, 11.5, 0, 0, 2.6, 1, 5.4, 3.2, 5.6, 1.2, 12.5, 8.2, 6.1, 1.8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1.8, 0.6, 15.9, 19, 6.7, 0.2, 0);
  102.             $pluieBDD = ['Paris' => $ParisPluie, 'Marignane' => $MarignanePluie, 'Aurillac' => $AurillacPluie, 'Bordeaux' => $BordeauxPluie, 'Nantes' => $NantesPluie, 'Lyon' => $LyonPluie
  103.             ];
  104.             $pluieBaseBDD = ['Paris' => 637.4, 'Marignane' => 515.4, 'Aurillac' => 1174, 'Bordeaux' => 944.1, 'Nantes' => 819.5, 'Lyon' => 880.9];
  105.             $pluieBase = $pluieBaseBDD[$climat];
  106.                         
  107.             $ParisETP= array (    0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     3.8,     3.6,     1,     2.7,     3.1,     1.1,     1.9,     2.2,     4.1,     4.6,     3.6,     3.2,     3.8,     3.7,     4.9,     5.9,     6.4,     3.1,     3.7,     3.7,     4.6,     4.9,     5.2,     4.6,     6.7,     7.2,     6.5,     6.8,     6.9,     6.1,     5.7,     6.2,     5.5,     3.4,     4.7,     6,     4.8,     5.4,     6.9,     6.4,     7.1,     8,     5.8,     5.7,     7.3,     7.9,     6.3,     5.8,     7.4,     7.8,     7.6,     7.9,     8.5,     6.1,     6.1,     6.6,     6.1,     3.3,     4.2,     4.5,     2.7,     2.9,     3,     5,     5.7,     6.8,     6.4,     8,     7,     4.5,     2.4,     4.7,     4,     4.7,     5.3,     5.5,     6.3,     6.2,     7.1,     5.9,     5.1,     6.1,     3.4,     4.2,     2.7,     3.9,     2.9,     3.5,     4.9,     6.3,     6.9,     3.9,     4.9,     6,     6.4,     5.5,     5.2,     5.2,     5.8,     2.9,     2.8,     2.4,     3.3,     2.1,     3.7,     4.4,     3.4,     3.9,     2.4,     2.7,     3.6,     4,     3,     4.5,     4.7,     3.7,     1.8,     3.7,     4.1,     4.3,     5.1,     2.4,     3.6,     3.4,     3.3,     3.1,     3.8,     2.8,     3.4,     3,     2.2,     2.8,     2.6,     3,     3.1,     1.3,     2.6,     2.8,     2.2,     2,     1.7,     2.3,     1.5,     2.4,     2.5,     2.4,     3,     2.8,     2.4,     1.6,     1.3,     2.7,     2.7,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     2.8,     3.5,     4.3,     4.8,     5.2,     5.5,     6.5,     6.5,     4.9,     4.7,     4.9,     3.7,     2.8,     1.3,     3.6,     4.8,     5.3,     4.8,     4.7,     5,     4.4,     3.8,     4.3,     4.8,     4.8,     5.1,     5.8,     4.7,     2.8,     4.4,     4.8,     2.6,     4.2,     5.5,     4.8,     2.4,     2.5,     5,     4.9,     4,     3.7,     1.5,     2.5,     3,     2.9,     5,     5.5,     4.7,     4.8,     4.5,     5.8,     6,     5.9,     5.6,     5.9,     6,     7.3,     7,     7.7,     7.3,     7.1,     7.7,     7.1,     7,     6.6,     5,     6.5,     7.1,     6.9,     7.1,     6.6,     4.4,     5.6,     6,     6.6,     6.7,     7.4,     6.4,     6.8,     7.4,     4.4,     5.7,     5.6,     6.5,     6.2,     7.6,     6.9,     7.4,     6.8,     6.8,     5.7,     6.5,     6.4,     7.4,     8,     8.8,     7.2,     7.3,     7.9,     6.2,     2.2,     4.7,     4.9,     6.5,     5,     4.3,     4.4,     5.8,     5.9,     4.9,     5.1,     3.5,     3.9,     4.9,     4.7,     4.3,     4.5,     4.4,     4.3,     4.4,     2.5,     2.5,     4.1,     4.6,     4.6,     4.5,     1.9,     3.8,     3.2,     4,     3.6,     4.6,     4,     4.5,     4.4,     1.6,     3.7,     3.3,     3.6,     4.6,     3,     4.2,     3.8,     3.7,     3,     2.3,     3.1,     3.3,     2.9,     2.8,     3.2,     3.5,     2.8,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     3.6,     2.5,     2.8,     1.7,     2.7,     2.5,     3.8,     2.1,     2.2,     2.6,     3,     4.1,     5.2,     5.7,     5.7,     4.9,     3.2,     2.4,     2.1,     3.2,     3.3,     4.1,     4.6,     5.6,     4,     3.9,     5,     4,     3.9,     3,     4.6,     5.8,     7.9,     3.6,     4.9,     1.3,     4.6,     3.8,     4.5,     3.6,     3.9,     3.2,     2.6,     2.8,     4.5,     5.2,     4.7,     5.1,     5.8,     6.1,     4.3,     5.4,     5.7,     6,     6.4,     7,     7.5,     7.8,     8.2,     8.4,     6.7,     6.1,     6.6,     7.1,     7.2,     7.6,     7.7,     6.5,     7.3,     6.9,     6.4,     6,     6.4,     6.3,     4.7,     5.9,     5.7,     6.6,     5.9,     5.9,     5.5,     6.1,     6.7,     8.7,     8.5,     9,     7,     3.6,     5.2,     6.6,     6,     5.1,     5.5,     6.5,     4.8,     6.2,     5.6,     2.8,     5.2,     5.2,     3.2,     6.8,     3.6,     3.4,     3.6,     4.8,     4.7,     4.6,     1.3,     3,     4.7,     5,     4.3,     5.2,     5.5,     5.5,     5.8,     6,     6,     5.2,     4.8,     5.2,     6.7,     5.1,     4.3,     4.1,     4.3,     3.6,     3.7,     3.7,     3.7,     3.2,     4.1,     4.2,     2.7,     3,     3.8,     4.3,     4.3,     4.1,     4.4,     4.1,     5.5,     4.1,     2.3,     3.1,     1.8,     1.9,     2.6,     2.5,     2.7,     2.2,     2.3,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     3.4,     3.9,     3,     3.7,     2.7,     5.7,     5.1,     4.9,     3.7,     3.1,     4.1,     4.1,     4.7,     4.7,     5,     4.7,     4.8,     5.6,     5.8,     5.9,     5.8,     5.5,     4.8,     4.6,     5.1,     6.6,     6.8,     6.7,     7.4,     6.9,     7.2,     6.8,     7.3,     6.6,     2.2,     3.2,     5.2,     3.8,     4,     4.2,     4,     4.8,     3,     4.9,     4.2,     4,     4.6,     3.8,     4.6,     3.5,     5.1,     3.7,     5.5,     7.1,     8.4,     8.2,     6.7,     4.1,     5.9,     6,     4.5,     3.6,     4.3,     4.9,     3.9,     4.2,     5.3,     5.8,     5.8,     7.3,     5.8,     6.3,     6.6,     7.4,     4.8,     4.4,     3,     4.8,     6.5,     7,     7.1,     7.4,     6.4,     6.6,     4.9,     5.6,     5.7,     8.1,     6.4,     5.9,     7.2,     8.1,     5.6,     6.2,     5.4,     5.7,     6.8,     7.1,     8.1,     7.5,     9,     7,     6.4,     7,     4.8,     4,     4.4,     4,     3.7,     5,     3.1,     5.6,     6.8,     5.4,     4.1,     3.9,     5.8,     5.4,     4.8,     3.7,     2.4,     3.1,     3.8,     3.7,     3.9,     5.1,     5.7,     4.4,     2.9,     3.8,     3.8,     5.1,     3.8,     3.8,     3.5,     4.1,     4.8,     5.6,     5.2,     5.5,     4.3,     4.8,     3.8,     4.9,     3.7,     2.7,     2.1,     2.2,     2.9,     0.9,     1.2,     0.9,     2.4,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     2.4,     2.6,     4.1,     3.5,     3.2,     1.4,     3.8,     4.2,     5.6,     4.3,     2.6,     2.8,     3.4,     2,     2.9,     3.2,     3.4,     3.5,     3.4,     3.5,     5.2,     4.1,     4.3,     3.5,     3.3,     3.1,     4.5,     5.6,     5.7,     6.4,     7.1,     6.8,     5.6,     5.6,     3.1,     3.2,     5.3,     5.2,     5.6,     6.2,     6.6,     5.9,     5.3,     7,     7.3,     6.7,     7.6,     5.2,     5.2,     3.6,     4.5,     5.8,     2.1,     2,     4.1,     2.9,     2.8,     3.4,     4.7,     2.8,     2.6,     4.2,     4.9,     4.2,     4,     3.4,     5.9,     5,     4.9,     3.8,     3,     4.1,     3.2,     1.2,     3.6,     5.3,     4.1,     4.5,     6.8,     6.7,     6.7,     6.6,     7,     6.5,     5.7,     4,     4,     2,     5.1,     4.8,     5,     4.8,     4.9,     3.8,     3.3,     2.8,     4.7,     4.9,     3.8,     4.9,     4,     3.8,     4.6,     5.1,     5.8,     6,     5.8,     4.6,     2.7,     2.9,     2.9,     3.8,     3.9,     4,     2.8,     5.3,     5.3,     3.6,     4.6,     3.6,     2.9,     3.4,     4.8,     4.6,     4.5,     4.2,     4.4,     4.7,     5,     5.6,     4.7,     3.8,     3.6,     3.6,     3.2,     3.6,     2.8,     1.7,     3.5,     3.2,     3.5,     3.5,     2,     2.8,     2.9,     2.8,     2.7,     2.5,     2,     1.9,     2.3,     3,     2.5,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,     0    );
  108.             $MarignaneETP = array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4.6, 2.4, 3.5, 3.4, 3.7, 3.3, 6.3, 7.6, 5.7, 3.3, 3.8, 5.3, 4.4, 4.8, 7.2, 5.8, 6.7, 6.7, 6.6, 8.4, 6.3, 5, 6.1, 5.9, 5.8, 6.6, 7, 7.9, 7.2, 6.5, 5.3, 5.7, 6, 5.6, 7.9, 8.1, 8.6, 9, 6.7, 6.6, 7.9, 7.2, 7.8, 7.4, 7.8, 8, 9, 9, 9, 9, 7.2, 6.6, 6.9, 7.5, 8.4, 9, 7.6, 8.4, 6.5, 7.4, 8.3, 9, 9, 9, 7.4, 8.5, 8.4, 8.5, 8.5, 8.9, 7.3, 6.4, 9, 9, 9, 9, 9, 8.7, 8.4, 8.4, 8.6, 6.8, 5.9, 9, 9, 9, 9, 9, 9, 7.1, 8.5, 9, 9, 8, 8.1, 8.8, 9, 9, 9, 7.7, 9, 9, 9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, 5.8, 6, 5.1, 4.9, 5.7, 3.4, 4.5, 3.9, 4.2, 2.9, 1.9, 4.3, 5.7, 1.3, 4.5, 4.3, 4.8, 5.3, 5.2, 4.8, 5.5, 6.6, 5.4, 5, 3.8, 4, 4, 5.5, 5.8, 5.3, 3.4, 4, 4.7, 5.4, 5, 4.7, 3.5, 4.7, 3.8, 4, 3.5, 4.5, 4.2, 4.4, 5.4, 8, 4.1, 3.1, 4, 3.8, 5, 5.2, 4.6, 2.4, 3.5, 3.4, 2.3, 1, 3.3, 2.7, 2.6, 2.7, 3.9, 3.2, 3.3, 2.8, 3.6, 3.3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
  113.             $ETPBDD = ['Paris' => $ParisETP, 'Marignane' => $MarignaneETP, 'Aurillac' => $AurillacETP, 'Bordeaux' => $BordeauxETP, 'Nantes' => $NantesETP, 'Lyon' => $LyonETP];
  114.             $ETP = $ETPBDD[$climat];
  115.             ////////fin climat
  116.             
  117.             If ($AnneesCalculees == 2) {
  118.                $pluviometrie = $pluieBDD[$climat]; 
  119.             } else {
  120.                 //Récupérer la station choisie
  121.                $stationId = $reutilisationDTO->getStationAPI();
  122.                $stationBDD = $stationsMeteoRepository->findOneBy(['IdStation' => $stationId]);
  123.                 //Aller chercher les données météo de chaque année
  124.                $pluviometrieParAn = $PluviometrieRepository->findBy(['idStation' => $stationBDD]);
  125.                dump($pluviometrieParAn);
  126.                 //les cumuler dans un tableau
  127.                $pluviometrie[]= null;
  128.                    $pluviometrieAnnuelleData0 = $pluviometrieParAn[0]->getRainData();
  129.                    $pluviometrieAnnuelleData1 = $pluviometrieParAn[1]->getRainData();
  130.                    $pluviometrieAnnuelleData2 = $pluviometrieParAn[2]->getRainData();
  131.                    $pluviometrieAnnuelleData3 = $pluviometrieParAn[3]->getRainData();
  132.                    $pluviometrieAnnuelleData4 = $pluviometrieParAn[4]->getRainData();
  133.                dump($pluviometrieAnnuelleData0);
  134.                $pluviometrie = array_merge_recursive($pluviometrieAnnuelleData0,$pluviometrieAnnuelleData1,
  135.                        $pluviometrieAnnuelleData2,$pluviometrieAnnuelleData3,$pluviometrieAnnuelleData4);
  136.                $pluviometrie = array_slice($pluviometrie, 0, 1825);
  137.                dump($pluviometrie);              
  138.             }
  139.             
  140.             // Besoins en eau            
  141.             $besoinWc = 0;
  142.             $nbreUtilisateur = $reutilisationDTO->getNbreUtilisateur();
  143.             $tauxRaccordement = $reutilisationDTO->getTauxRaccordement()/100;
  144.             $volumeParUtilisation =  $this->toFloat($reutilisationDTO->getVolumeParUtilisation());
  145.             $scenarioUtilisation = $reutilisationDTO->getScenarioUtilisation();            
  146.             $scenario5sur7 = array(1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 0,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0, 1, 1, 0.5, 1, 1, 0, 0, 1, 1, 0.5, 1, 1, 0, 0, 1, 0.5, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0.5, 1, 1, 0, 1, 1, 0.5, 1, 1, 0, 0, 1, 1, 0.5, 1, 1, 0, 0, 1, 1, 0.5, 1, 1, 0, 0, 1, 1, 1, 1, 0, 0, 1, 1, 0.5, 1, 1, 0, 0, 1, 1, 0.5, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0.5, 1, 1, 0, 0, 1, 1, 0.5, 1, 1, 0, 0, 1, 1, 0.5, 1, 0, 0, 1, 1, 0.5, 1, 1, 0, 0, 1, 1, 0.5, 1, 1, 0, 0, 1, 1, 0.5, 1, 1, 0, 0, 1, 0.5, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
  148.             
  149.             //Transformation du besoin en eau libre
  150.                 $besoinEau = $reutilisationDTO->getBesoinEau();
  151.                 // Besoin en eau séparé par des points-virgules
  152.                 if (!empty($besoinEau)) {
  153.                     // Supprimer les espaces et remplacer les virgules par des points
  154.                     $besoinEau = str_replace(" ", "", $besoinEau);
  155.                     $besoinEau = str_replace(",", ".", $besoinEau);
  156.                     // Transformer la chaîne en tableau
  157.                     $besoinEauArray = explode(";", $besoinEau);
  158.                     // Répéter la série jusqu'à obtenir 1825 éléments dans le tableau
  159.                     $i = 0;
  160.                     while (count($besoinEauArray) < 1826) {
  161.                         // Ajouter les éléments de la série à la fin du tableau
  162.                         $besoinEauArray[] = $besoinEauArray[$i % count($besoinEauArray)];
  163.                         $i++;
  164.                     }
  165.                 } else {
  166.                     // Créer un tableau de 1825 zéros
  167.                     $besoinEauArray = array_fill(0, 1826, 0);
  168.                 }
  169. //dump($reutilisationDTO->getCertivea());                
  170. // Apports toiture
  171. if ($reutilisationDTO->getCertivea()){
  172.     $surfaceRecuperee =
  173.         (
  174.         $this->toFloat($reutilisationDTO->getSurfaceRecuperee())
  175.         + $this->toFloat($reutilisationDTO->getSurfaceRecuperee2())
  176.         + $this->toFloat($reutilisationDTO->getSurfaceRecuperee3())
  177.         );
  178.     //dump($reutilisationDTO->getCertivea()); 
  179. } 
  180. else 
  181. {
  182.     $surfaceRecuperee =
  183.         (
  184.         $this->toFloat($reutilisationDTO->getSurfaceRecuperee()) * $this->toFloat($reutilisationDTO->getRendementToiture())
  185.         + $this->toFloat($reutilisationDTO->getSurfaceRecuperee2()) * $this->toFloat($reutilisationDTO->getRendementToiture2())
  186.         + $this->toFloat($reutilisationDTO->getSurfaceRecuperee3()) * $this->toFloat($reutilisationDTO->getRendementToiture3())
  187.         ) * 0.9; // 0.9 pour le filtre Kf
  188. } 
  189.             
  190.             // Autres paramètres
  191.             $volumeCuveUser =  $this->toFloat($reutilisationDTO->getVolumeCuve());
  192.             $tauxRecupObjectif =  $this->toFloat($reutilisationDTO->getTauxObjectif());
  193.         $show_complement=true;
  194.             $time = date('d/m/y H:i');
  195.             $reutilisationDTO->setTime($time);
  196.             
  197.             // Données économiques récupérées :
  198.             $coutEau =  $this->toFloat($reutilisationDTO->getCoutEau());
  199.             $coutPompe =  $this->toFloat($reutilisationDTO->getCoutPompe());
  200.             $coutVolume =  $this->toFloat($reutilisationDTO->getCoutVolume());
  201.             $choixVolume =  $this->toFloat($reutilisationDTO->getChoixVolume());
  202.             $coutVolume2  =  $this->toFloat($reutilisationDTO->getCoutVolume2());
  203.             $choixVolume2  =  $this->toFloat($reutilisationDTO->getChoixVolume2());
  204.             //////////////        
  205.                         
  206.             // Arrosage 
  207.             $sArrosage = $this->toFloat($reutilisationDTO->getSArrosage());
  208.             $typePlante = $reutilisationDTO->getTypePlante();
  209.             $profondeurTerre = $reutilisationDTO->getProfondeurTerre();
  210.             $ru = $reutilisationDTO->getRu();
  211.             $kcArray = array('Gazon Kc=0.8 racines=20cm' => '0.8', 'Vivaces Kc=0.2 racines=40cm' => '0.2', 'Arbustes Kc=0.2 racines=70cm' => '0.2', 'Graminees Kc=0.8 racines=80cm' => '0.8');
  212.             $profondeurRacineArray = array('Gazon Kc=0.8 racines=20cm' => '0.2', 'Vivaces Kc=0.2 racines=40cm' => '0.4', 'Arbustes Kc=0.2 racines=70cm' => '0.7', 'Graminees Kc=0.8 racines=80cm' => '0.8');            
  213.             $kc = $kcArray[$typePlante];
  214.             $profondeurRacine = $profondeurRacineArray[$typePlante];  
  215.             $RFUmax = min($profondeurRacine,$profondeurTerre) * $ru * 2/3;
  216.             //////////////
  217.             $iteration = 0;
  218.             $victoire = 0;
  219.             Do {
  220.             $volumeEauInitial = 0; //Litres
  221.             $tauxRecup = null;
  222.             $tempsDeRetour = null;
  223.             $volumeCuveGraph = null;
  224.             
  225.             $besoinArrosageCinqAnsSurfacique = 0;            
  226.             $besoinArrosageAnnuel = 0;
  227.             $ETPstring = implode(",",$ETP);
  228.             $ETPmax = max($ETP);
  229.             $besoinJournalierMax = $nbreUtilisateur * $volumeParUtilisation * $tauxRaccordement + max($besoinEauArray) + $sArrosage * $ETPmax;
  230.                 $volumeTheorique = round(min($besoinJournalierMax, $surfaceRecuperee)/10)*10;
  231.                 $volumeCuveArray = [0.25 * $volumeTheorique, 0.5 * $volumeTheorique, 1 * $volumeTheorique,
  232.                     3 * $volumeTheorique, 9 * $volumeTheorique, 27 * $volumeTheorique];
  233.                 if ($volumeCuveUser != null) {
  234.                     $volumeCuveArray [] = $volumeCuveUser;
  235.                     $volumeCuveArray [] = $volumeCuveUser * 2;
  236.                     $volumeCuveArray [] = $volumeCuveUser * 0.5;
  237.                     asort($volumeCuveArray);
  238.                 }
  239.                 if ($tauxRecupObjectif != null) {
  240.                     if ($iteration > 0) {
  241.                         $yObjectif = max(2,$tauxRecupObjectif * ($ya - $yb) / ($xa - $xb) + ($xa * $yb - $xb * $ya) / ($xa - $xb));
  242.                         $yObjectifInf = max(1, $yObjectif - 0.25 * $yObjectif);
  243.                         $yObjectifSup = max(3,$yObjectif + 0.25 * $yObjectif);
  244.                         $volumeCuveArray = [0.25 * $volumeTheorique, 0.5 * $volumeTheorique, 1 * $volumeTheorique,
  245.                             3 * $volumeTheorique, 9 * $volumeTheorique, 27 * $volumeTheorique, $yObjectifInf, $yObjectif, $yObjectifSup];
  246.                         asort($volumeCuveArray);
  247. //                        
  248.                     }
  249.                 } else {
  250.                     $victoire = 2;
  251.                 }
  252.                 
  253.                 // Calcul volume par volume de cuve :
  254.                 foreach ($volumeCuveArray as $volumeCuve) {
  255.                     $volumeEauInitial = 0;
  256.                     $SommeTropPleinNuitEtJour = 0;
  257.                     $sommeManqueEau = 0;
  258.                     
  259.                     $besoinEauAnnuel = 0;
  260.                     $jour = 0;
  261.                     $besoinEauJournalier = 0;
  262.                     $apportEauAnnuel = 0;
  263.                     $RFUJournalier = 0;
  264.                     $graphVolumeEau = null;
  265.                     $graphTropPleinNuitEtJour = null;
  266.                     $graphManqueEau = null;
  267.                     $arrayReuJournalier = null;
  268.                     $graphApportCuve = null;
  269.                     $besoinArrosageAnnuel = 0;
  270.                     $besoinWcAnnuel = 0;
  271.                     $besoinEauAutreAnnuel = 0;
  272.                     $besoinArrosageCinqAnsSurfacique = 0;
  273.                     
  274.                     //Calcul jour par jour :
  275.                     foreach ($pluviometrie as $pluieDuJour) {
  276.                         //Calcul des besoins WC : 
  277.                         if ($scenarioUtilisation == 1) {// ajouter également ici le taux
  278.                             $besoinWc = $nbreUtilisateur * $volumeParUtilisation * $tauxRaccordement;
  279.                         } else if ($scenarioUtilisation == 2) {
  280.                             $besoinWc = $nbreUtilisateur * $volumeParUtilisation * $tauxRaccordement * $scenario5sur7[$jour];
  281.                         } else if ($scenarioUtilisation == 3) {
  282.                             $besoinWc = $nbreUtilisateur * $volumeParUtilisation * $tauxRaccordement * $scenarioEnseignement[$jour];
  283.                         }
  284.                         //calcul des besoins d'arrosage :
  285.                         $besoinArrosageJournalierSurfacique = 0;
  286.                         $ConsoPlanteJournalier = $kc * $ETP[$jour];
  287.                         If ($AnneesCalculees == 2) {
  288.                             $RFUJournalier = $RFUJournalier - $ConsoPlanteJournalier + $pluieDuJour * $stationMeteo / $pluieBase;
  289.                         } else {
  290.                             $RFUJournalier = $RFUJournalier - $ConsoPlanteJournalier + $pluieDuJour;
  291.                         }
  292.                         if ($RFUJournalier < 0) {
  293.                             $besoinArrosageJournalierSurfacique = abs($RFUJournalier);
  294.                             $RFUJournalier = 0;
  295.                         } else if ($RFUJournalier > $RFUmax) {
  296.                             $RFUJournalier = $RFUmax;
  297.                         }
  298.                         $besoinArrosageCinqAnsSurfacique = $besoinArrosageJournalierSurfacique + $besoinArrosageCinqAnsSurfacique;
  299.                         
  300.                         $besoinEauJournalier = $besoinEauArray[$jour] + $besoinWc + $besoinArrosageJournalierSurfacique * $sArrosage;
  301.                         
  302.              //Ajouter ici une condition sur le choix des années :
  303.                         If ($AnneesCalculees == 2) {
  304.                             $apportEauJournalier = $surfaceRecuperee * $pluieDuJour * $stationMeteo / $pluieBase;
  305.                         } else {
  306.                             $apportEauJournalier = $surfaceRecuperee * $pluieDuJour;
  307.                         }
  308.                         //nouveau calcul :
  309.                         $manqueEauDuJour = 0;
  310.                         $tropPleinNuit =0;
  311.                         $tropPleinJour = 0;
  312.                         $volumeEau = $volumeEauInitial + $apportEauJournalier *0.3 ;
  313.                         if ($volumeEau >= $volumeCuve) {
  314.                             $tropPleinNuit = $volumeEau - $volumeCuve;
  315.                             $volumeEau = $volumeCuve;
  316.                         } 
  317.                         $volumeEau = $volumeEau - $besoinEauJournalier + $apportEauJournalier *0.7;
  318.                         if ($volumeEau >= $volumeCuve) {
  319.                             $tropPleinJour = $volumeEau - $volumeCuve;
  320.                             $volumeEau = $volumeCuve;
  321.                         }
  322.                         if ($volumeEau <= 0) {
  323.                             $manqueEauDuJour = abs($volumeEau);
  324.                             $volumeEau = 0;
  325.                         }
  326.                         $TropPleinNuitEtJour = $tropPleinNuit + $tropPleinJour;
  327.                         $SommeTropPleinNuitEtJour = $SommeTropPleinNuitEtJour + $TropPleinNuitEtJour;
  328.                         $besoinWCnonRaccordeJournalier = $besoinWc/$tauxRaccordement*(1-$tauxRaccordement);
  329.                         
  330.                         $sommeManqueEau = $manqueEauDuJour + $sommeManqueEau + $besoinWCnonRaccordeJournalier;
  331.                          
  332.                         //somme annuelle
  333.                         $besoinArrosageAnnuel = $besoinArrosageJournalierSurfacique* $sArrosage + $besoinArrosageAnnuel;
  334.                         $besoinWcAnnuel = $besoinWcAnnuel + $besoinWc;
  335.                         $besoinEauAutreAnnuel = $besoinEauAutreAnnuel + $besoinEauArray[$jour];
  336.                         $apportEauAnnuel = $apportEauAnnuel + $apportEauJournalier;
  337.                         $besoinEauAnnuel = $besoinEauAnnuel + $besoinEauJournalier + $besoinWCnonRaccordeJournalier; 
  338.                         //préparation graphique et tableau
  339.                         $graphVolumeEau[] = $volumeEau;
  340.                         $graphVolumeEauArray [$volumeCuve] = $graphVolumeEau;
  341.                         if ($volumeCuve == $volumeEau){
  342.                             $graphTropPleinNuitEtJour[] = $TropPleinNuitEtJour + $volumeEau;
  343.                         } else {
  344.                             $graphTropPleinNuitEtJour[] = $volumeEau;
  345.                         }
  346.                         
  347.                         $graphTropPleinArray[$volumeCuve] = $graphTropPleinNuitEtJour;
  348.                         
  349.                         $graphManqueEau[] = - $manqueEauDuJour;
  350.                         $graphManqueEauArray[$volumeCuve] = $graphManqueEau;
  351.                          $graphApportCuve[] = $besoinEauJournalier - $manqueEauDuJour;
  352.                          $graphApportCuveArray[$volumeCuve] = $graphApportCuve;
  353.                        
  354.                         //tableau d'analyse jour par jour
  355.                         $arrayReuJournalier = array($jour, $pluieDuJour, $RFUJournalier, $ETP[$jour], $ConsoPlanteJournalier, $besoinArrosageJournalierSurfacique,
  356.                             $besoinEauJournalier, $pluieDuJour * $surfaceRecuperee, $volumeEau,  $manqueEauDuJour); //$bilanEau,
  357.                         $arrayReu [] = $arrayReuJournalier;
  358.                         $arrayReuAnnuel[$volumeCuve]=$arrayReu;                        
  359.                         $jour = $jour + 1;
  360.                         $volumeEauInitial = $volumeEau;
  361.                     }  //on change de jour
  362.                     
  363.                     $tauxRecup [$volumeCuve] =$besoinEauAnnuel ? ($besoinEauAnnuel - $sommeManqueEau) / $besoinEauAnnuel * 100 : 0;
  364.                     $volumeCuveGraph [] = $volumeCuve;
  365.                     if ($volumeCuveUser != null AND $volumeCuve == $volumeCuveUser) {
  366.                         $tauxRecupUser =$besoinEauAnnuel ? ($besoinEauAnnuel - $sommeManqueEau) / $besoinEauAnnuel * 100 : 0;
  367.                     } else if ($volumeCuveUser == null) {
  368.                         $tauxRecupUser = 0;
  369.                         $volumeCuveUser = 0;
  370.                     }
  371.                     //calcul du temps de retour
  372.                     
  373.                     $eauReutilisee = $apportEauAnnuel - $SommeTropPleinNuitEtJour;
  374.                     $gainAnnuel = $coutEau * $eauReutilisee / 1000 /5;
  375.                     $coutCuve = $coutPompe + ($coutVolume2 - $coutVolume)/($choixVolume2 - $choixVolume) * ($volumeCuve - $choixVolume) + $coutVolume;
  376.                     $tempsDeRetour [$volumeCuve] = $coutCuve / max($gainAnnuel, 1);
  377.                     $arrayVerif ['volumeCuve'] = $volumeCuve;
  378.                     $arrayVerif ['$tauxRecup'] = $besoinEauAnnuel ? round(($besoinEauAnnuel - $sommeManqueEau) / $besoinEauAnnuel * 100, 1) : 0;
  379.                     $arrayVerif ['eau reutilisée'] = round($eauReutilisee /5 /1000);
  380.                     $arrayVerif ['$sommeManqueEau'] = round($sommeManqueEau /5 /1000);
  381.                     $arrayVerif ['$SommeTropPleinNuitEtJour'] = round($SommeTropPleinNuitEtJour /5 /1000);
  382.                     $arrayVerif ['$gainAnnuel'] = round($gainAnnuel);
  383.                     $arrayVerif ['coutcuve'] = round($coutCuve);
  384.                     $arrayVerif ['tempsDeRetour'] = round($coutCuve / max($gainAnnuel, 1), 1);
  385.                     $tableauParametrique[$volumeCuve] = $arrayVerif;
  386.                     
  387.                 } //on change de volume de cuve
  388.                 
  389.                 
  390.                 $x = 1;
  391.                 $xMax = count($tauxRecup);
  392.                 
  393.                 $position = reset($tauxRecup);
  394.                 
  395.                 foreach ($tauxRecup as $y) {
  396.                     $yRound = round($y);
  397.                     if ($yRound == $tauxRecupObjectif) {
  398.                         $victoire++;
  399.                         $tauxRecupUser = $y;
  400.                         $volumeCuveUser = array_search($y, $tauxRecup);
  401.                     }
  402.                     if ($x == 1 and $tauxRecupObjectif < $yRound) {
  403.                         $position = next($tauxRecup);
  404.                         goto a;
  405.                     }
  406.                     if ($tauxRecupObjectif < $yRound) {
  407.                         goto a;
  408.                     }
  409.                     if ($y < $tauxRecupObjectif) {
  410.                         if ($x == $xMax) {
  411.                             $position = prev($tauxRecup);
  412.                             goto a;
  413.                         } else {
  414.                             $position = next($tauxRecup);
  415.                         }
  416.                     }
  417. //                    
  418.                     $x++;
  419.                 }
  420.                 a:
  421.                 $xa = prev($tauxRecup);
  422.                 $xb = next($tauxRecup);
  423.                 $ya = array_search($xa, $tauxRecup);
  424.                 $yb = array_search($xb, $tauxRecup);
  425.                 if ($iteration > 5) {
  426.                     goto finDesIterations;
  427.                 };
  428.                 if ($xa == $xb) {
  429.                     goto finDesIterations;
  430.                 };
  431.                 $iteration++;
  432.             } while ($victoire < 1.9);
  433.             
  434.             finDesIterations:
  435.             //Mise en graphique de l'étude paramétrique
  436.             $x = 0;
  437.             $chaineCaractere = null;
  438.             $cles = array_keys($tauxRecup);
  439.             foreach ($tauxRecup as $y) {
  440.                 $chaineCaractere [] = "{ x: ";
  441.                 $chaineCaractere [] = $cles[$x];
  442.                 $chaineCaractere [] = ", y: ";
  443.                 $chaineCaractere [] = $y;
  444.                 $chaineCaractere [] = "}";
  445.                 $pointJson [] = implode($chaineCaractere);
  446.                 $chaineCaractere = null;
  447.                 $x = $x + 1;
  448.             }
  449.             $graphParametriqueJson = implode(",", $pointJson);
  450.             $graphParametriqueUserJson = array("{ x: ", $volumeCuveUser, ", y: ", $tauxRecupUser, "}");
  451.             $graphParametriqueUserJson = implode($graphParametriqueUserJson);
  452.             //dump($tauxRecup);
  453.             //dump($graphParametriqueJson);
  454.             //Mise en graphique de l'étude paramétrique Temps de retour
  455.             $pointJson = null;
  456.             $x = 0;
  457.             $chaineCaractere = null;
  458.             $cles = array_keys($tempsDeRetour);
  459.             foreach ($tempsDeRetour as $y) {
  460.                 $chaineCaractere [] = "{ x: ";
  461.                 $chaineCaractere [] = $cles[$x];
  462.                 $chaineCaractere [] = ", y: ";
  463.                 $chaineCaractere [] = $y;
  464.                 $chaineCaractere [] = "}";
  465.                 $pointJson [] = implode($chaineCaractere);
  466.                 $chaineCaractere = null;
  467.                 $x = $x + 1;
  468.             }
  469.             $graphTempsDeRetour = implode(",", $pointJson);
  470.             
  471.             //Mise en graphique du volume de cuve avec un coef de 1
  472.             $pointJson = null;
  473.             $x = 1;
  474.             $chaineCaractere = null;
  475.             if ($volumeCuveUser != null){
  476.                 $graphVolumeEau = $graphVolumeEauArray[$volumeCuveUser];
  477.                 $arrayReu = $arrayReuAnnuel [$volumeCuveUser];
  478.                 $graphManqueEau = $graphManqueEauArray[$volumeCuveUser];
  479.                 $graphTropPlein = $graphTropPleinArray[$volumeCuveUser];
  480.                 $graphApportCuve = $graphApportCuveArray[$volumeCuveUser];
  481.                 $maxGraph = $volumeCuveUser * 5;
  482.             } else {
  483.                 $graphVolumeEau = $graphVolumeEauArray[$volumeTheorique];
  484.                 $arrayReu = $arrayReuAnnuel [$volumeTheorique];
  485.                 $graphManqueEau = $graphManqueEauArray[$volumeTheorique];
  486.                 $graphTropPlein = $graphTropPleinArray[$volumeTheorique];
  487.                 $graphApportCuve = $graphApportCuveArray[$volumeTheorique];
  488.                 $maxGraph = $volumeTheorique * 5;
  489.             }
  490.             
  491.             
  492.             foreach ($graphVolumeEau as $y) {
  493.                 $chaineCaractere [] = "{ x: ";
  494.                 $chaineCaractere [] = $x;
  495.                 $chaineCaractere [] = ", y: ";
  496.                 $chaineCaractere [] = $y;
  497.                 $chaineCaractere [] = "}";
  498.                 $pointJson [] = implode($chaineCaractere);
  499.                 $chaineCaractere = null;
  500.                 $x = $x + 1;
  501.                 if ($x > 364) {
  502.                     goto fin1;
  503.                 };
  504.             }
  505.             fin1:
  506.             $graphVolumeEauJson = implode(",", $pointJson);
  507.             $graphJourParJour['volumeEau']=$graphVolumeEauJson;
  508.             
  509.             //mise en graphique du manque d'eau
  510.             $pointJson = null;
  511.             $x = 1;
  512.             $chaineCaractere = null;
  513.             foreach ($graphManqueEau as $y) {
  514.                 $chaineCaractere [] = "{ x: ";
  515.                 $chaineCaractere [] = $x;
  516.                 $chaineCaractere [] = ", y: ";
  517.                 $chaineCaractere [] = $y;
  518.                 $chaineCaractere [] = "}";
  519.                 $pointJson [] = implode($chaineCaractere);
  520.                 $chaineCaractere = null;
  521.                 $x = $x + 1;
  522.                                 if ($x > 364) {
  523.                     goto fin2;
  524.                 };
  525.             }
  526.             fin2:            
  527.             $graphManqueEauJson = implode(",", $pointJson);
  528.             $graphJourParJour['manqueEau']=$graphManqueEauJson;
  529.             $pointJson = null;
  530.             $x = 1;
  531.             $chaineCaractere = null;
  532.             foreach ($graphManqueEau as $y) {
  533.                 $chaineCaractere [] = "{ x: ";
  534.                 $chaineCaractere [] = $x;
  535.                 $chaineCaractere [] = ", y: ";
  536.                 $chaineCaractere [] = - $y;
  537.                 $chaineCaractere [] = "}";
  538.                 $pointJson [] = implode($chaineCaractere);
  539.                 $chaineCaractere = null;
  540.                 $x = $x + 1;
  541.                             if ($x > 364) {
  542.                     goto fin3;
  543.                 };
  544.             }
  545.             fin3:
  546.             $graphManqueEauJson = implode(",", $pointJson);
  547.             $graphJourParJour['manqueEauPositif']=$graphManqueEauJson;
  548.             
  549.             //mise en graphique du trop plein
  550.             $pointJson = null;
  551.             $x = 1;
  552.             $chaineCaractere = null;
  553.             foreach ($graphTropPlein as $y) {
  554.                 $chaineCaractere [] = "{ x: ";
  555.                 $chaineCaractere [] = $x;
  556.                 $chaineCaractere [] = ", y: ";
  557.                 $chaineCaractere [] = $y;
  558.                 $chaineCaractere [] = "}";
  559.                 $pointJson [] = implode($chaineCaractere);
  560.                 $chaineCaractere = null;
  561.                 $x = $x + 1;
  562.                             if ($x > 364) {
  563.                     goto fin4;
  564.                 };
  565.             }
  566.             fin4:
  567.             $graphTropPleinJson = implode(",", $pointJson);
  568.             $graphJourParJour['tropPlein']=$graphTropPleinJson;
  569.             
  570.             //mise en graphique de la pluviometrie
  571.             $pointJson = null;
  572.             $x = 1;
  573.             $chaineCaractere = null;
  574.             foreach ($pluviometrie as $y) {
  575.                 $chaineCaractere [] = "{ x: ";
  576.                 $chaineCaractere [] = $x;
  577.                 $chaineCaractere [] = ", y: ";
  578.                 $chaineCaractere [] = $y * $stationMeteo / $pluieBase;
  579.                 $chaineCaractere [] = "}";
  580.                 $pointJson [] = implode($chaineCaractere);
  581.                 $chaineCaractere = null;
  582.                 $x = $x + 1;
  583.                             if ($x > 364) {
  584.                     goto fin5;
  585.                 };
  586.             }
  587.             fin5:
  588.             $graphPluviometrieJson = implode(",", $pointJson);
  589.             $graphJourParJour['pluviometrie']=$graphPluviometrieJson;
  590.             
  591.               //mise en graphique de l'apport cuve
  592.             $pointJson = null;
  593.             $x = 1;
  594.             $chaineCaractere = null;
  595.             foreach ($graphApportCuve as $y) {
  596.                 $chaineCaractere [] = "{ x: ";
  597.                 $chaineCaractere [] = $x;
  598.                 $chaineCaractere [] = ", y: ";
  599.                 $chaineCaractere [] = $y;
  600.                 $chaineCaractere [] = "}";
  601.                 $pointJson [] = implode($chaineCaractere);
  602.                 $chaineCaractere = null;
  603.                 $x = $x + 1;
  604.                             if ($x > 364) {
  605.                     goto fin6;
  606.                 };
  607.             }
  608.             fin6:
  609.             $graphApportCuveJson = implode(",", $pointJson);
  610.             $graphJourParJour['apportCuve']=$graphApportCuveJson;
  611.             $graphJourParJour['maximum']= $maxGraph; 
  612.             
  613.             
  614.             //mise en graphique de la tarte
  615.             $totalDesBesoins = $besoinArrosageAnnuel + $besoinWcAnnuel + $besoinEauAutreAnnuel;
  616.             $graphTarte['tauxArrosage'] = $totalDesBesoins ? $besoinArrosageAnnuel / $totalDesBesoins : 0;
  617.             $graphTarte['tauxWc'] = $totalDesBesoins ? $besoinWcAnnuel / $totalDesBesoins : 0;
  618.             $graphTarte['tauxAutres'] = $totalDesBesoins ? $besoinEauAutreAnnuel / $totalDesBesoins : 0;
  619.             $graphTarte['Arrosage'] = round($besoinArrosageAnnuel/1000/5) ;
  620.             $graphTarte['Wc'] = round($besoinWcAnnuel/1000/5);
  621.             $graphTarte['Autres'] = round($besoinEauAutreAnnuel/1000/5) ;
  622.             
  623.             $pluviometrieTotale = array_sum($pluviometrie)* $stationMeteo / $pluieBase;
  624.             $tableauSynthese['pluviometrieMoyenne'] = round($pluviometrieTotale /5);
  625.             $tableauSynthese['besoinArrosage'] = round($besoinArrosageCinqAnsSurfacique /5);
  626.             $tableauSynthese['besoinAnnuel'] = round($totalDesBesoins / 5 /1000);
  627.             if ($this->user != null) {
  628.                 $reutilisationDTO->setTheUser($this->user);
  629.             }
  630.             
  631.             
  632.             // Stockage des données des graphiques pour ré-uitilisation ( pdf, ... )
  633.             $dataGraphique['graphJourParJour'] = $graphJourParJour;
  634.             $dataGraphique['graphParametrique'] = $graphParametriqueJson;
  635.             $dataGraphique['graphParametriqueUserJson'] = $graphParametriqueUserJson;
  636.             $dataGraphique['graphTempsDeRetour'] = $graphTempsDeRetour;
  637.             $dataGraphique['graphPluviometrie'] = $graphPluviometrieJson;
  638.             $dataGraphique['tauxRecupUser'] = $tauxRecupUser;
  639.             $dataGraphique['besoinArrosageTotal'] = $besoinArrosageCinqAnsSurfacique;
  640.             $dataGraphique['tableau'] = $arrayReu;
  641.             $dataGraphique['volumeCuveUser'] = $volumeCuveUser;
  642.             $dataGraphique['graphTarte'] = $graphTarte;
  643.             $dataGraphique['besoinEauAnnuel'] = $besoinEauAnnuel;
  644.             $dataGraphique['sommeManqueEau'] = $sommeManqueEau;
  645.             $dataGraphique['apportEauAnnuel'] = $apportEauAnnuel;
  646.             $dataGraphique['fichePluvio'] = $reutilisationDTO;
  647.             $dataGraphique['tableauSynthese'] = $tableauSynthese;
  648.             $dataGraphique['tableauParametrique'] = $tableauParametrique;
  649.             $session->set('GraphData', $dataGraphique);
  650.             // Stockage des données des graphiques pour ré-uitilisation ( pdf, ... )
  651. //            $reutilisationDTO->setGraphData(
  652. //                ['graphJourParJour' => $graphJourParJour,
  653. //                    'graphParametrique' => $graphParametriqueJson,
  654. //                    'graphParametriqueUserJson' => $graphParametriqueUserJson,
  655. //                    'graphTempsDeRetour' => $graphTempsDeRetour,
  656. //                    'graphPluviometrie' => $graphPluviometrieJson,
  657. //                    'tauxRecupUser' => $tauxRecupUser,
  658. //                    'besoinArrosageTotal' => $besoinArrosageCinqAnsSurfacique,
  659. //                    'tableau' => $arrayReu,
  660. //                    'volumeCuveUser' => $volumeCuveUser,
  661. //                    'graphTarte' => $graphTarte,
  662. //                    'besoinEauAnnuel' => $besoinEauAnnuel,
  663. //                    'sommeManqueEau' => $sommeManqueEau,
  664. //                    'apportEauAnnuel' => $apportEauAnnuel,
  665. //                    'fichePluvio' => $reutilisationDTO,
  666. //                    'tableauSynthese' => $tableauSynthese,
  667. //                    'tableauParametrique' => $tableauParametrique]
  668. //            );
  669.             $em->persist($reutilisationDTO);
  670.             $em->flush();
  671.         $allowPDF = true;
  672.             $session->set("calculEffectue", 1);
  673.             $idFinal = $reutilisationDTO->getId();
  674.             $session->set("pluvioId", $idFinal);
  675.             $fichePluvioAffichage = $reutilisationDTO;
  676.         } else {
  677.             $graphVolumeEauJson = "";
  678.             $graphParametriqueJson = "";
  679.             $graphParametriqueUserJson = "";
  680.             $graphPluviometrieJson = "";
  681.             $graphTempsDeRetour = "";
  682.             $graphTarte['tauxArrosage'] = "";
  683.             $graphTarte['tauxWc'] = "";
  684.             $graphTarte['tauxAutres'] = "";
  685.             $graphTarte['Arrosage'] = "";
  686.             $graphTarte['Wc'] = "";
  687.             $graphTarte['Autres'] = "";
  688.             $volumeCuveUser = "";
  689.             $tauxRecupUser = null;
  690.             $besoinArrosageCinqAnsSurfacique = 0;
  691.             $besoinEauAnnuel ="";
  692.             $sommeManqueEau = "";
  693.             $apportEauAnnuel ="";
  694.             $graphJourParJour['pluviometrie'] ="";
  695.             $graphJourParJour['tropPlein'] ="";
  696.             $graphJourParJour['manqueEau'] ="";
  697.             $graphJourParJour['manqueEauPositif']="";
  698.             $graphJourParJour['volumeEau'] ="";
  699.             $graphJourParJour['apportCuve']="";
  700.             $graphJourParJour['maximum']="";
  701.             $tableauSynthese['pluviometrieMoyenne'] = 0;
  702.             $tableauSynthese['besoinArrosage'] = 0;
  703.             $tableauSynthese['besoinAnnuel'] = 0;
  704.             $tableauParametrique = null;
  705.             $fichePluvioAffichage = $reutilisationDTO;
  706.         }
  707.         // Stockage en session des données de la fiche pluvio
  708.         // récupération des données de la fiche pluvio
  709.         return $this->render('reutilisation.html.twig',
  710.                         ['form' => $form->createView(),
  711.                 'show_complement' => $show_complement,
  712.                 'allowPDF' => $allowPDF,
  713.                     'idPluvio' => $idFinal,
  714.                             'graphJourParJour' => $graphJourParJour,
  715.                             'graphParametrique' => $graphParametriqueJson,
  716.                             'graphParametriqueUserJson' => $graphParametriqueUserJson,
  717.                             'graphTempsDeRetour' => $graphTempsDeRetour,
  718.                             'graphPluviometrie' => $graphPluviometrieJson,
  719.                             'tauxRecupUser' => $tauxRecupUser,
  720.                             'besoinArrosageTotal' => $besoinArrosageCinqAnsSurfacique,
  721.                             'tableau' => $arrayReu,
  722.                             'volumeCuveUser' => $volumeCuveUser,
  723.                             'graphTarte' => $graphTarte,
  724.                             'besoinEauAnnuel' => $besoinEauAnnuel,
  725.                             'manqueEau' => $sommeManqueEau,
  726.                             'apportEauAnnuel' => $apportEauAnnuel,
  727.                             'tableauSynthese' => $tableauSynthese,
  728.                             'tableauParametrique' => $tableauParametrique,
  729.                             'fichePluvio' => $fichePluvioAffichage                                            
  730.         ]);
  731.     }
  732.     /**
  733.      * Génération du PDF de la fiche pluvio
  734.      */
  735.     #[Route(path: '/bilan_reutilisation/{idFiche}', name: 'RetutilisationBilanPdf')]
  736.     public function retutilisationBilanPdf(
  737.         Request $req,
  738.         \App\Repository\PluvioDatabaseRepository $pluvioDatabaseRepository,
  739.         LoggerInterface $logger,
  740.         Pdf  $knpSnappyPdf,
  741.         Request $request, Session $session,
  742.         $idFiche,
  743.         SerializerInterface $serializer) {
  744.         $session->start();
  745.         $fiche = $pluvioDatabaseRepository->findOneById($idFiche);
  746.         if($fiche) {
  747.             $slugger = new AsciiSlugger('fr_FR');
  748.             // Récupère les infos de la session pour les passer à la vue
  749.             $dataReutilisation = $session->get('GraphData');
  750.             $dataReutilisation['form'] = $fiche;
  751.             // Récupère les infos de la session pour les passer à la vue
  752.             $form = $this->createForm(\App\Form\ReutilisationType::class, $fiche);
  753.             $formKeys = array_keys($form->all());
  754.             $fields = [
  755.                 'rendementToiture', 'rendementToiture2', 'rendementToiture3',
  756.                 'climat',
  757.                 'stationmeteo', 'stationAPI',
  758.                 'scenarioUtilisation',
  759.                 'ru',
  760.                 'typePlante',
  761.                 'profondeurTerre',
  762.             ];
  763.             $customChoices = [];
  764.             foreach($fields as $field) {
  765.                 $selectedValue = $form->get($field)->getData();
  766.                 $choices = $form->get($field)->getConfig()->getOption('choices');
  767.                 $customChoices[$field] = array_search($selectedValue, $choices);
  768.             }
  769.             foreach($formKeys as $key) {
  770.                 if(!in_array($key, $fields)) {
  771.                     $customChoices[$key] = $form->get($key)->getData();
  772.                 }
  773.             }
  774. //            $selectedValue = $fiche->getClimat();
  775. //            $choices = $form->get('climat')->getConfig()->getOption('choices');
  776. //            dump(array_search($selectedValue, $choices));
  777. //            $selectedValue = $fiche->getStationMeteo();
  778. //            $choices = $form->get('stationmeteo')->getConfig()->getOption('choices');
  779. //            dump(array_search($selectedValue, $choices));
  780. //            stationmeteo
  781. //            dd('ok');
  782.             //dd('test');
  783.             $params = $request->request->all();
  784.             $dataReutilisation['form'] = $customChoices;
  785.             $dataReutilisation['img']='';
  786.             if(isset($params['img'])) $dataReutilisation['img']=$params['img'];
  787. //            $dataReutilisation['customChoices'] = $customChoices;
  788.             $content = $this->renderView('bilan_reutilisation.html.twig', $dataReutilisation);
  789.             
  790. //            $content = '<pre>';
  791. //            $content .= print_r($request->files, true);
  792. //            $content .= print_r($request->request->all(),true);
  793. //            $content .='</pre>';
  794.             $nomProjet = trim($fiche->getNomDuProjet() ?? 'Projet_Sans_Nom');
  795.                         $time = $fiche->getTime() ?? time();
  796.                         $filename = $slugger->slug("Bilan_reutilisation_{$nomProjet}-{$time}") . ".pdf";
  797.             $pdf = new Html2Pdf('P', 'A4', 'fr', true, 'UTF-8', array(5, 5, 5, 5));
  798.             $pdf->pdf->SetDisplayMode('fullpage');
  799.             $pdf->writeHTML($content);
  800.             $pdf->output($filename, 'D');
  801. //            $knpSnappyPdf->setTemporaryFolder('../var/');
  802. //            // $dompdf->setPaper('A4', 'portrait');
  803. //            $knpSnappyPdf->setLogger($logger);
  804. //            $knpSnappyPdf->setOption('encoding', 'utf-8');
  805. //            $knpSnappyPdf->setOption('page-size', 'A4');
  806. //            $knpSnappyPdf->setOption('orientation', 'portrait');
  807. //
  808. //            $output = $knpSnappyPdf->getOutputFromHtml($content);
  809. //            $knpSnappyPdf->removeTemporaryFiles();
  810.             return new \Knp\Bundle\SnappyBundle\Snappy\Response\PdfResponse($output,$filename);
  811.             //return new Response($pdf->generatePdf($content, $filename));
  812.         }
  813.         die('Pas de pdf à générer');
  814.     }
  815.         
  816. //        /**
  817.     //     * Copie de la fiche Pluvio
  818.     //     *
  819.     //     * @Route("/CopieCalcul/{idFiche}", name="CopieCalcul")
  820.     //     */
  821.     //    public function CopieCalcul(
  822.     //        Request $req,
  823.     //        \App\Repository\PluvioDatabaseRepository $pluvioDatabaseRepository,
  824.     //        LoggerInterface $logger,
  825.     //        Request $request, Session $session,
  826.     //        $idFiche,
  827.     //        SerializerInterface $serializer) {
  828.     //        $session->start();
  829.     //
  830.     //        $fiche = $pluvioDatabaseRepository->findOneById($idFiche);
  831.     //        
  832.     //                
  833.     //    }
  834.         
  835.     #[Route(path: '/apropos', name: 'apropos')]
  836.     public function apropos() {
  837.         return $this->render('apropos.html.twig');
  838.     }
  839.     
  840.     /**
  841.  * Convertit la valeur de certivea en booléen.
  842.  *
  843.  * @param mixed $certivea La valeur de certivea
  844.  * @return bool Le booléen correspondant
  845.  */
  846. private function toBool($certivea)
  847. {
  848.     return filter_var($certivea, FILTER_VALIDATE_BOOLEAN);
  849. }
  850.     #[Route(path: '/workinprogress', name: 'workinprogress')]
  851.     public function workinprogress() {
  852.         return $this->render('workinprogress.html.twig');
  853.     }
  854.     #[Route(path: '/aide', name: 'aide')]
  855.     public function aide() {
  856.         return $this->render('aide.html.twig');
  857.     }
  858.     
  859.      #[Route(path: '/listePluvio', name: 'listePluvio')]
  860.     public function listePluvio(\App\Repository\PluvioDatabaseRepository $pluvioRepo, 
  861.             Request $theRequest, PaginatorInterface $thePaginator,
  862.             Session $session) {
  863.    
  864.         $session->start();
  865.         $session->set("lastPage", "listePluvio");
  866.         
  867.         if (!$this->isGranted('ROLE_ADMIN')) {
  868.             $typeFormFilter = 'utilisateur';
  869.             $idUser = $this->getUser()->getId();
  870.         } else {
  871.             $typeFormFilter = 'admin';
  872.             $idUser = null;
  873.         }
  874.         
  875.         $listFichePluvioBuilder = $pluvioRepo->findAllIndexBuilder($idUser);
  876.         
  877.         
  878.         $listFichePluvio = $thePaginator->paginate(
  879.             $listFichePluvioBuilder,
  880.             $theRequest->get('page', 1),
  881.             self::NB_INDEX
  882.         );
  883.         
  884.         return $this->render('listePluvio.html.twig', [
  885.             'listFichePluvio' => $listFichePluvio
  886.         ]);
  887.     }
  888.     
  889.         #[Route(path: '/pluvioId/{id}', name: 'pluvioId', options: ['expose' => true])]
  890.     public function pluvioId(Session $session, $id) {
  891.         
  892.         $session->start();
  893.         $session->set("pluvioId", $id);
  894.         return $this->redirectToRoute('index');
  895.     }
  896.     
  897.      #[Route(path: '/postConnexion', name: 'postConnexion')]
  898.     public function postConnexion(Session $session) {
  899.         
  900.         $session->start();
  901.         $lastPage = $session->get("lastPage");
  902.         //dump($lastPage);
  903.         $array = [];
  904.         if ($lastPage === "tri"){
  905.             $idProjet = $session->get("idProjet");
  906.             $array = ["idProjet" => $idProjet];
  907.             return $this->redirectToRoute($lastPage,$array);
  908.         } 
  909.         if ($lastPage === "lot"){
  910.             $idProjet = $session->get("idProjet");
  911.             $lot = $session->get("lot");
  912.             $array = ["idProjet" => $idProjet, "lot" => $lot];
  913.             return $this->redirectToRoute($lastPage,$array);
  914.         }
  915.         return $this->redirectToRoute($lastPage);
  916.     }
  917.     
  918. //    /**
  919.     //     * @Route("/", name="index")
  920.     //     */
  921.     //    public function index(Session $session) {
  922.     //
  923.     //        $session->start();
  924.     //        $session->set("lastPage", "index");
  925.     //        
  926.     //        return $this->redirect('https://quveo.fr/reutilisation');
  927.     //    }
  928.     #[Route(path: '/admin', name: 'admin')]
  929.     public function admin(FicheBatimentRepository $fb) {
  930.         $fb->supprimerdoublon();
  931. //        return $this->render('admin.html.twig');
  932.     }
  933.     #[Route(path: '/quiplusest', name: 'quiplusest')]
  934.     public function quiplusest() {
  935.         return $this->redirect('http://www.quiplusest.coop');
  936.     }
  937.     #[Route(path: '/emaarchitectes', name: 'emaarchitectes')]
  938.     public function emaarchitectes() {
  939.         return $this->redirect('http://www.emaarchitectes.com');
  940.     }
  941.     #[Route(path: '/upload-dropzone', name: 'upload-dropzone')]
  942.     public function uploadDropzone(Request $req,
  943.             FicheBatimentImportService $service,
  944.             FicheBatimentRepository $ficheBatRep,
  945.             EntityManagerInterface $em,
  946.             Session $session) {
  947.         $session->start();
  948.         $idFicheBatiments = $session->get("idFicheBatiments");
  949.         $time = date('YmdHis');
  950.         // Récup contenu du fichier temporaire crée et 
  951.         $fichier = $req->files->get('fichier');
  952.         
  953.         
  954.         //si c'est un fichier zip, on extrait le XML
  955.         $extension = pathinfo($fichier, PATHINFO_EXTENSION);
  956.         
  957.         if ($extension = "zip") {
  958.             $zip = new ZipArchive();
  959.             if ($zip->open($fichier) === TRUE) {
  960.                 $zip->extractTo('EXTRACTION', 'fiche.xml');
  961.                 $zip->close();
  962.                 $nomFichier = uniqid() . '.xml';
  963.                 rename("EXTRACTION/fiche.xml", 'IMPORTS/' . $nomFichier);
  964.                 $nomInitialFichier = 'fiche.xml';
  965.             }
  966. //                
  967.         } else {
  968.             $nomFichier = uniqid() . '.xml';
  969.             $nomInitialFichier = $fichier->getClientOriginalName();
  970.             $fichier->move('IMPORTS', $nomFichier);
  971.         }
  972.         //analyse que s'il est conforme RT2012
  973.         $xml = simplexml_load_file('IMPORTS/' . $nomFichier);
  974.         
  975.         if (isset($xml->Entree_Projet->Index) or isset($xml->RSET->Entree_Projet->Index)) {
  976.             $fichesBatiment = $service->importer('IMPORTS/' . $nomFichier, $time, $nomInitialFichier);
  977.             foreach ($fichesBatiment as $ficheBatiment) {
  978.                 $fichesOps[] = $ficheBatiment;
  979.                 $idFicheBatiments[] = $ficheBatiment->getId();
  980.             }
  981.         }
  982.         $session->set("idFicheBatiments", $idFicheBatiments);
  983.         return $this->json($fichesOps);
  984.     }
  985.     #[Route(path: '/homepage', name: 'homepage')]
  986.     public function homepage(
  987.             Request $req,
  988.             FicheBatimentRepository $fichebatimentRepository,
  989.             FicheBatimentRepository $ficheBatRep,
  990.             FicheBatimentExempleRepository $theFicheBatimentExempleRepository,
  991.             Session $session,
  992.             PaginatorInterface $thePaginator
  993.     ) {
  994.         $session->start();
  995.         $session->set("lastPage", "homepage");
  996.         $page = $req->get('page', 1);
  997.         if ($this->getUser() == null) {
  998.             $idFicheBatimentsUser = $session->get("idFicheBatiments");
  999.             if ($idFicheBatimentsUser != null) {
  1000.                 $listFicheBatimentUser = $fichebatimentRepository->findByIds($idFicheBatimentsUser);
  1001.             } else {
  1002.                 $listFicheBatimentUser = [];
  1003.                 $idFicheBatimentsUser = [];
  1004.             }
  1005.             if (count($listFicheBatimentUser) == 0) {
  1006.                 $listFicheBatimentUser[] = $theFicheBatimentExempleRepository->findSingleton()->getTheFicheBatiment();
  1007.             }
  1008.             $listFicheBatimentUser = $thePaginator->paginate(
  1009.                 $listFicheBatimentUser,
  1010.                 $page,
  1011.                 self::NB_FICHE_HOMEPAGE
  1012.             );
  1013.         } else {
  1014.             $idFicheBatimentsUser = $fichebatimentRepository->findIdsByUser($this->getUser()->getId());
  1015.             $listFicheBatimentUserBuilder = $fichebatimentRepository->findByUserBuilder($this->getUser()->getId());
  1016.             $idFicheBatimentsUser = array_column($idFicheBatimentsUser, 'id');
  1017.             $listFicheBatimentUser = $thePaginator->paginate(
  1018.                 $listFicheBatimentUserBuilder,
  1019.                 $page,
  1020.                 self::NB_FICHE_HOMEPAGE
  1021.             );
  1022.         }
  1023.         //******************************************        
  1024.         // Mise en place du formulaire de filtre
  1025.         //******************************************
  1026.         $filtreDTO = new AffichageGraphiqueDTO();
  1027.         $filtreForm = $this->createForm(AffichageGraphiqueType::class, $filtreDTO);
  1028.         $filtreForm->handleRequest($req);
  1029.         // Insitialise fichesBatiments soit avec tous soit via critères submitted
  1030.         if ($filtreForm->isSubmitted()) {
  1031.             $listFicheBatimentAll = $ficheBatRep->filtrer($filtreDTO->getUsage(), $filtreDTO->getZoneClimatique(), $filtreDTO->getEtancheiteMin(),
  1032.                     $filtreDTO->getEtancheiteMax(), $filtreDTO->getTauxVitreeMin(), $filtreDTO->getTauxVitreeMax());
  1033.             if ($filtreDTO->getAbscisse() == 'compacite') {
  1034.                 $abscisse = 'Compacité en m² enveloppe par m² SHONRT';
  1035.             } elseif ($filtreDTO->getAbscisse() == 'tauxVitre') {
  1036.                 $abscisse = 'Taux de vitrage en m² de vitrage par m² SHONRT';
  1037.             } elseif ($filtreDTO->getAbscisse() == 'orientationSud') {
  1038.                 $abscisse = 'Pourcentage de baies au sud';
  1039.             } elseif ($filtreDTO->getAbscisse() == 'compaciteVitre') {
  1040.                 $abscisse = 'Compacité x Taux vitré';
  1041.             } elseif ($filtreDTO->getAbscisse() == 'compaciteVitreBrassage') {
  1042.                 $abscisse = 'Compacité x Taux vitré x Brassage';
  1043.             }
  1044.             if ($filtreDTO->getOrdonnee() == 'bBioChauffage') {
  1045.                 $ordonnee = 'BBIO Chauffage';
  1046.             } elseif ($filtreDTO->getOrdonnee() == 'bBioEclairage') {
  1047.                 $ordonnee = 'BBIO Eclairage';
  1048.             }
  1049.         } else {
  1050.             $listFicheBatimentAll = $ficheBatRep->findAll();
  1051.             $abscisse = "Compacité en m² enveloppe par m² SHONRT";
  1052.             $ordonnee = "BBIO Chauffage";
  1053.         }
  1054.         // Prépare les données du graphique
  1055.         $graphiqueAll = [];
  1056.         $graphiqueUser = [];
  1057.         foreach ($listFicheBatimentAll as $aFicheBatimentAll) {
  1058.             $coordonnees = [];
  1059.             if ($filtreForm->isSubmitted()) {
  1060.                 if ($filtreDTO->getAbscisse() == 'compacite') {
  1061.                     $coordonnees[] = $aFicheBatimentAll->getCompacite();
  1062.                     $abscisse = 'Compacité en m² enveloppe par m² SHONRT';
  1063.                 } elseif ($filtreDTO->getAbscisse() == 'tauxVitre') {
  1064.                     $coordonnees[] = $aFicheBatimentAll->getTauxVitrage();
  1065.                     $abscisse = 'Taux de vitrage en m² de vitrage par m² SHONRT';
  1066.                 } elseif ($filtreDTO->getAbscisse() == 'orientationSud') {
  1067.                     $coordonnees[] = $aFicheBatimentAll->getPartBaiesSudBatiment();
  1068.                     $abscisse = 'Pourcentage de baies au sud';
  1069.                 } elseif ($filtreDTO->getAbscisse() == 'compaciteVitre') {
  1070.                     $coordonnees[] = $aFicheBatimentAll->getCombinaisonCompaciteTauxVitrage();
  1071.                     $abscisse = 'Compacité x Taux vitré';
  1072.                 } elseif ($filtreDTO->getAbscisse() == 'compaciteVitreBrassage') {
  1073.                     $coordonnees[] = $aFicheBatimentAll->getCombinaisonCompaciteTauxVitrageBrassageBBIO();
  1074.                     $abscisse = 'Compacité x Taux vitré x Brassage';
  1075.                 }
  1076.                 if ($filtreDTO->getOrdonnee() == 'bBioChauffage') {
  1077.                     $coordonnees[] = $aFicheBatimentAll->getBbioChaudAnnuel();
  1078.                     $ordonnee = 'BBIO Chauffage';
  1079.                 } elseif ($filtreDTO->getOrdonnee() == 'bBioEclairage') {
  1080.                     $coordonnees[] = $aFicheBatimentAll->getBbioEclairageAnnuel();
  1081.                     $ordonnee = 'BBIO Eclairage';
  1082.                 }
  1083.             } else {
  1084.                 $coordonnees[] = $aFicheBatimentAll->getCompacite();
  1085.                 $coordonnees[] = $aFicheBatimentAll->getBbioChaudAnnuel();
  1086.                 $abscisse = "Compacité en m² enveloppe par m² SHONRT";
  1087.                 $ordonnee = "BBIO Chauffage";
  1088.             }
  1089.             if (in_array($aFicheBatimentAll->getId(), $idFicheBatimentsUser)) {
  1090.                 $graphique = &$graphiqueUser;
  1091.             } else {
  1092.                 $graphique = &$graphiqueAll;
  1093.             }
  1094.             $graphique['coordonnees'][] = $coordonnees;
  1095.             $graphique['taux_de_vitrage'][] = $aFicheBatimentAll->getTauxVitrage();
  1096.             $graphique['q_4_pasurf'][] = $aFicheBatimentAll->getQ4PaSurf();
  1097.             $graphique['uw_moyen'][] = $aFicheBatimentAll->getUwMoyen();
  1098.             $graphique['ids'][] = $aFicheBatimentAll->getId();
  1099.         }
  1100.         if (count($graphiqueAll) > 0) {
  1101.             $graphiqueJsonCoordonnees = json_encode($graphiqueAll['coordonnees']);
  1102.             $graphiqueJsonAll = ['data' => $graphiqueJsonCoordonnees];
  1103.             $graphiqueJsonAll['taux_de_vitrage'] = json_encode($graphiqueAll['taux_de_vitrage']);
  1104.             $graphiqueJsonAll['q_4_pasurf'] = json_encode($graphiqueAll['q_4_pasurf']);
  1105.             $graphiqueJsonAll['uw_moyen'] = json_encode($graphiqueAll['uw_moyen']);
  1106.             $graphiqueJsonAll['ids'] = json_encode($graphiqueAll['ids']);
  1107.             $alert = null;
  1108.         } else {
  1109.             $graphiqueJsonAll = ['data' => '[0,0]'];
  1110.             $graphiqueJsonAll['taux_de_vitrage'] = '[0,0]';
  1111.             $graphiqueJsonAll['q_4_pasurf'] = '[0,0]';
  1112.             $graphiqueJsonAll['uw_moyen'] = '[0,0]';
  1113.             $graphiqueJsonAll['ids'] = '[0,0]';
  1114.             $alert = 'Encore aucune donnée pour ces filtres';
  1115.         }
  1116.         if (count($graphiqueUser) > 0) {
  1117.             $graphiqueJsonCoordonnees = json_encode($graphiqueUser['coordonnees']);
  1118.             $graphiqueJsonUser = ['data' => $graphiqueJsonCoordonnees];
  1119.             $graphiqueJsonUser['taux_de_vitrage'] = json_encode($graphiqueUser['taux_de_vitrage']);
  1120.             $graphiqueJsonUser['q_4_pasurf'] = json_encode($graphiqueUser['q_4_pasurf']);
  1121.             $graphiqueJsonUser['uw_moyen'] = json_encode($graphiqueUser['uw_moyen']);
  1122.             $graphiqueJsonUser['ids'] = json_encode($graphiqueUser['ids']);
  1123.             $alertUtilisateur = null;
  1124.         } else {
  1125.             $graphiqueJsonUser = ['data' => '[0,0]'];
  1126.             $graphiqueJsonUser['taux_de_vitrage'] = '[0,0]';
  1127.             $graphiqueJsonUser['q_4_pasurf'] = '[0,0]';
  1128.             $graphiqueJsonUser['uw_moyen'] = '[0,0]';
  1129.             $graphiqueJsonUser['ids'] = '[0,0]';
  1130.             $alertUtilisateur = 'Encore aucune donnée pour cet utilisateur';
  1131.         }
  1132.         //******************************************        
  1133.         // Fin du graphique avec données utilisateur
  1134.         //******************************************
  1135.         //
  1136.         // Renvoie vers le template index
  1137.         return $this->render('homepage.html.twig', [
  1138.                     'all' => $listFicheBatimentAll,
  1139.                     'alert' => $alert,
  1140.                     'alertUtilisateur' => $alertUtilisateur,
  1141.                     'graphiqueJsonAll' => $graphiqueJsonAll,
  1142.                     'graphiqueJsonUser' => $graphiqueJsonUser,
  1143.                     'abscisse' => $abscisse,
  1144.                     'ordonnee' => $ordonnee,
  1145. //                    'monForm' => $uploadForm->createView(),
  1146.                     'affichage' => $filtreForm->createView(),
  1147.                     'listFicheBatiment' => $listFicheBatimentUser,
  1148.         ]);
  1149.     }
  1150.     
  1151.     #[Route(path: '/infiltration', name: 'infiltration')]
  1152.     public function infiltration(EntityManagerInterface $em, Request $req
  1153.     ) {
  1154.         $infiltration = new Infiltration();
  1155.         $form = $this->createForm(InfiltrationType::class, $infiltration);
  1156.         $form->handleRequest($req);
  1157.         if ($form->isSubmitted() && $form->isValid()) {
  1158.             $nbreEtage = $infiltration->getNbrEtage();
  1159.             $p4 = $infiltration->getQ4();
  1160.             $n50 = 1.8 * $p4 * ($nbreEtage + 1) / $nbreEtage;
  1161.             $infiltration->setN50($n50);
  1162.             $facadeExposee = $infiltration->getFacadeExposee();
  1163.             $localisation = $infiltration->getLocalisation();
  1164.             if ($facadeExposee == 'Espace chauffé sans façade exposée') {
  1165.                 $exposition = 0.01;
  1166.             } else if ($facadeExposee == 'Espace chauffé à simple exposition') {
  1167.                 if ($localisation == 'Site non abrité') {
  1168.                     $exposition = 0.03;
  1169.                 } else if ($localisation == 'Site modérément abrité') {
  1170.                     $exposition = 0.02;
  1171.                 } else if ($localisation == 'Site très abrité') {
  1172.                     $exposition = 0.02;
  1173.                 }
  1174.             } else if ($facadeExposee == 'Espace chauffé avec expositions multiples') {
  1175.                 if ($localisation == 'Site non abrité') {
  1176.                     $exposition = 0.05;
  1177.                 } else if ($localisation == 'Site modérément abrité') {
  1178.                     $exposition = 0.03;
  1179.                 } else if ($localisation == 'Site très abrité') {
  1180.                     $exposition = 0.02;
  1181.                 }
  1182.             }
  1183.             $infiltration->setFactExposition($exposition);
  1184.             
  1185.             $hauteurTotale = $nbreEtage * 4;
  1186.             
  1187.             if ($hauteurTotale <= 10){
  1188.                 $factHauteur = 1;
  1189.             } else if ($hauteurTotale <= 30){
  1190.                 $factHauteur = 1.2;
  1191.             } else if ($hauteurTotale > 30){
  1192.                 $factHauteur = 1.5;
  1193.             }
  1194.             $infiltration->setFactCorrectifHauteur($factHauteur);
  1195.             
  1196.             $volumeChauffe = $infiltration->getVolumeChauffe();
  1197.             $debitAirInfil = 2 * $volumeChauffe * $n50 * $exposition * $factHauteur;
  1198.             
  1199.             $infiltration->setDebitAirInfil($debitAirInfil);
  1200.             
  1201.             $ratioInfil = number_format($debitAirInfil / $volumeChauffe, 2);
  1202.             
  1203.             $em->persist($infiltration);
  1204.             $em->flush();
  1205.         } else {
  1206.             $ratioInfil = "";
  1207.             
  1208.         }
  1209.         return $this->render('infiltration.html.twig', [
  1210.         'form' => $form->createView(),
  1211.         'infiltration' => $infiltration,
  1212.             'ratioInfil' => $ratioInfil
  1213.         ]);
  1214.     }
  1215.         
  1216.         
  1217.         
  1218.     #[Route(path: '/efae/{idFiche}', name: 'efae')]
  1219.     public function efae(Request $req, EntityManagerInterface $em, FicheBatimentRepository $rep, $idFiche) {
  1220.         $ficheOpsManaged = $rep->findOneById($idFiche);
  1221.         if ($ficheOpsManaged->getOCefgazimpchannuel() != 0) {
  1222.             $conso = $ficheOpsManaged->getOCefgazimpchannuel();
  1223.             $prod = 'Gaz';
  1224.             $usage = 'Chauffage';
  1225.             $data = ['conso' => $conso, 'prod' => $prod, 'usage' => $usage];
  1226.             $tab[] = $data;
  1227.         }
  1228.         if ($ficheOpsManaged->getOCefgazimpfrannuel() != 0) {
  1229.             $conso = $ficheOpsManaged->getOCefgazimpfrannuel();
  1230.             $prod = 'Gaz';
  1231.             $usage = 'Froid';
  1232.             $data = ['conso' => $conso, 'prod' => $prod, 'usage' => $usage];
  1233.             $tab[] = $data;
  1234.         }
  1235.         if ($ficheOpsManaged->getOCefgazimpecsannuel() != 0) {
  1236.             $conso = $ficheOpsManaged->getOCefgazimpecsannuel();
  1237.             $prod = 'Gaz';
  1238.             $usage = 'ECS';
  1239.             $data = ['conso' => $conso, 'prod' => $prod, 'usage' => $usage];
  1240.             $tab[] = $data;
  1241.         }
  1242.         if ($ficheOpsManaged->getOCeffioulimpchannuel() != 0) {
  1243.             $conso = $ficheOpsManaged->getOCeffioulimpchannuel();
  1244.             $prod = 'Fioul';
  1245.             $usage = 'Chauffage';
  1246.             $data = ['conso' => $conso, 'prod' => $prod, 'usage' => $usage];
  1247.             $tab[] = $data;
  1248.         }
  1249.         if ($ficheOpsManaged->getOCeffioulimpfrannuel() != 0) {
  1250.             $conso = $ficheOpsManaged->getOCeffioulimpfrannuel();
  1251.             $prod = 'Fioul';
  1252.             $usage = 'Froid';
  1253.             $data = ['conso' => $conso, 'prod' => $prod, 'usage' => $usage];
  1254.             $tab[] = $data;
  1255.         }
  1256.         if ($ficheOpsManaged->getOCeffioulimpecsannuel() != 0) {
  1257.             $conso = $ficheOpsManaged->getOCeffioulimpecsannuel();
  1258.             $prod = 'Fioul';
  1259.             $usage = 'ECS';
  1260.             $data = ['conso' => $conso, 'prod' => $prod, 'usage' => $usage];
  1261.             $tab[] = $data;
  1262.         }
  1263.         if ($ficheOpsManaged->getOCefcharbonimpchannuel() != 0) {
  1264.             $conso = $ficheOpsManaged->getOCefcharbonimpchannuel();
  1265.             $prod = 'Charbon';
  1266.             $usage = 'Chauffage';
  1267.             $data = ['conso' => $conso, 'prod' => $prod, 'usage' => $usage];
  1268.             $tab[] = $data;
  1269.         }
  1270.         if ($ficheOpsManaged->getOCefcharbonimpfrannuel() != 0) {
  1271.             $conso = $ficheOpsManaged->getOCefcharbonimpfrannuel();
  1272.             $prod = 'Charbon';
  1273.             $usage = 'Froid';
  1274.             $data = ['conso' => $conso, 'prod' => $prod, 'usage' => $usage];
  1275.             $tab[] = $data;
  1276.         }
  1277.         if ($ficheOpsManaged->getOCefcharbonimpecsannuel() != 0) {
  1278.             $conso = $ficheOpsManaged->getOCefcharbonimpecsannuel();
  1279.             $prod = 'Charbon';
  1280.             $usage = 'ECS';
  1281.             $data = ['conso' => $conso, 'prod' => $prod, 'usage' => $usage];
  1282.             $tab[] = $data;
  1283.         }
  1284.         if ($ficheOpsManaged->getOCefboisgranimpchannuel() != 0) {
  1285.             $conso = $ficheOpsManaged->getOCefboisgranimpchannuel();
  1286.             $prod = 'Chaudière Bois granulé';
  1287.             $usage = 'Chauffage';
  1288.             $data = ['conso' => $conso, 'prod' => $prod, 'usage' => $usage];
  1289.             $tab[] = $data;
  1290.         }
  1291.         if ($ficheOpsManaged->getOCefboisgranimpfrannuel() != 0) {
  1292.             $conso = $ficheOpsManaged->getOCefboisgranimpfrannuel();
  1293.             $prod = 'Chaudière Bois granulé';
  1294.             $usage = 'Froid';
  1295.             $data = ['conso' => $conso, 'prod' => $prod, 'usage' => $usage];
  1296.             $tab[] = $data;
  1297.         }
  1298.         if ($ficheOpsManaged->getOCefboisgranimpecsannuel() != 0) {
  1299.             $conso = $ficheOpsManaged->getOCefboisgranimpecsannuel();
  1300.             $prod = 'Chaudière Bois granulé';
  1301.             $usage = 'ECS';
  1302.             $data = ['conso' => $conso, 'prod' => $prod, 'usage' => $usage];
  1303.             $tab[] = $data;
  1304.         }
  1305.         if ($ficheOpsManaged->getOCefboisbuchimpchannuel() != 0) {
  1306.             $conso = $ficheOpsManaged->getOCefboisbuchimpchannuel();
  1307.             $prod = 'Chaudière Bois buche';
  1308.             $usage = 'Chauffage';
  1309.             $data = ['conso' => $conso, 'prod' => $prod, 'usage' => $usage];
  1310.             $tab[] = $data;
  1311.         }
  1312.         if ($ficheOpsManaged->getOCefboisbuchimpfrannuel() != 0) {
  1313.             $conso = $ficheOpsManaged->getOCefboisbuchimpfrannuel();
  1314.             $prod = 'Chaudière Bois buche';
  1315.             $usage = 'Froid';
  1316.             $data = ['conso' => $conso, 'prod' => $prod, 'usage' => $usage];
  1317.             $tab[] = $data;
  1318.         }
  1319.         if ($ficheOpsManaged->getOCefboisbuchimpecsannuel() != 0) {
  1320.             $conso = $ficheOpsManaged->getOCefboisbuchimpecsannuel();
  1321.             $prod = 'Chaudière Bois buche';
  1322.             $usage = 'ECS';
  1323.             $data = ['conso' => $conso, 'prod' => $prod, 'usage' => $usage];
  1324.             $tab[] = $data;
  1325.         }
  1326.         if ($ficheOpsManaged->getOCefboisplaqimpchannuel() != 0) {
  1327.             $conso = $ficheOpsManaged->getOCefboisplaqimpchannuel();
  1328.             $prod = 'Chaudière Bois plaquette';
  1329.             $usage = 'Chauffage';
  1330.             $data = ['conso' => $conso, 'prod' => $prod, 'usage' => $usage];
  1331.             $tab[] = $data;
  1332.         }
  1333.         if ($ficheOpsManaged->getOCefboisplaqimpfrannuel() != 0) {
  1334.             $conso = $ficheOpsManaged->getOCefboisplaqimpfrannuel();
  1335.             $prod = 'Chaudière Bois plaquette';
  1336.             $usage = 'Froid';
  1337.             $data = ['conso' => $conso, 'prod' => $prod, 'usage' => $usage];
  1338.             $tab[] = $data;
  1339.         }
  1340.         if ($ficheOpsManaged->getOCefboisplaqimpecsannuel() != 0) {
  1341.             $conso = $ficheOpsManaged->getOCefboisplaqimpecsannuel();
  1342.             $prod = 'Chaudière Bois plaquette';
  1343.             $usage = 'ECS';
  1344.             $data = ['conso' => $conso, 'prod' => $prod, 'usage' => $usage];
  1345.             $tab[] = $data;
  1346.         }
  1347.         if ($ficheOpsManaged->getOCefboisgranpoelimpchannuel() != 0) {
  1348.             $conso = $ficheOpsManaged->getOCefboisgranpoelimpchannuel();
  1349.             $prod = 'Poele Bois granulé';
  1350.             $usage = 'Chauffage';
  1351.             $data = ['conso' => $conso, 'prod' => $prod, 'usage' => $usage];
  1352.             $tab[] = $data;
  1353.         }
  1354.         if ($ficheOpsManaged->getOCefboisgranpoelimpfrannuel() != 0) {
  1355.             $conso = $ficheOpsManaged->getOCefboisgranpoelimpfrannuel();
  1356.             $prod = 'Poele Bois granulé';
  1357.             $usage = 'Froid';
  1358.             $data = ['conso' => $conso, 'prod' => $prod, 'usage' => $usage];
  1359.             $tab[] = $data;
  1360.         }
  1361.         if ($ficheOpsManaged->getOCefboisgranpoelimpecsannuel() != 0) {
  1362.             $conso = $ficheOpsManaged->getOCefboisgranpoelimpecsannuel();
  1363.             $prod = 'Poele Bois granulé';
  1364.             $usage = 'ECS';
  1365.             $data = ['conso' => $conso, 'prod' => $prod, 'usage' => $usage];
  1366.             $tab[] = $data;
  1367.         }
  1368.         if ($ficheOpsManaged->getOCefboisbuchpoelimpchannuel() != 0) {
  1369.             $conso = $ficheOpsManaged->getOCefboisbuchpoelimpchannuel();
  1370.             $prod = 'Poele Bois buche';
  1371.             $usage = 'Chauffage';
  1372.             $data = ['conso' => $conso, 'prod' => $prod, 'usage' => $usage];
  1373.             $tab[] = $data;
  1374.         }
  1375.         if ($ficheOpsManaged->getOCefboisbuchpoelimpfrannuel() != 0) {
  1376.             $conso = $ficheOpsManaged->getOCefboisbuchpoelimpfrannuel();
  1377.             $prod = 'Poele Bois buche';
  1378.             $usage = 'Froid';
  1379.             $data = ['conso' => $conso, 'prod' => $prod, 'usage' => $usage];
  1380.             $tab[] = $data;
  1381.         }
  1382.         if ($ficheOpsManaged->getOCefboisbuchpoelimpecsannuel() != 0) {
  1383.             $conso = $ficheOpsManaged->getOCefboisbuchpoelimpecsannuel();
  1384.             $prod = 'Poele Bois buche';
  1385.             $usage = 'ECS';
  1386.             $data = ['conso' => $conso, 'prod' => $prod, 'usage' => $usage];
  1387.             $tab[] = $data;
  1388.         }
  1389.         if ($ficheOpsManaged->getOCefboisplaqpoelimpchannuel() != 0) {
  1390.             $conso = $ficheOpsManaged->getOCefboisplaqpoelimpchannuel();
  1391.             $prod = 'Poele Bois plaquette';
  1392.             $usage = 'Chauffage';
  1393.             $data = ['conso' => $conso, 'prod' => $prod, 'usage' => $usage];
  1394.             $tab[] = $data;
  1395.         }
  1396.         if ($ficheOpsManaged->getOCefboisplaqpoelimpfrannuel() != 0) {
  1397.             $conso = $ficheOpsManaged->getOCefboisplaqpoelimpfrannuel();
  1398.             $prod = 'Poele Bois plaquette';
  1399.             $usage = 'Froid';
  1400.             $data = ['conso' => $conso, 'prod' => $prod, 'usage' => $usage];
  1401.             $tab[] = $data;
  1402.         }
  1403.         if ($ficheOpsManaged->getOCefboisplaqpoelimpecsannuel() != 0) {
  1404.             $conso = $ficheOpsManaged->getOCefboisplaqpoelimpecsannuel();
  1405.             $prod = 'Poele Bois plaquette';
  1406.             $usage = 'ECS';
  1407.             $data = ['conso' => $conso, 'prod' => $prod, 'usage' => $usage];
  1408.             $tab[] = $data;
  1409.         }
  1410.         if ($ficheOpsManaged->getOCefelecimpchannuel() != 0) {
  1411.             $conso = $ficheOpsManaged->getOCefelecimpchannuel();
  1412.             $prod = 'Electricité';
  1413.             $usage = 'Chauffage';
  1414.             $data = ['conso' => $conso, 'prod' => $prod, 'usage' => $usage];
  1415.             $tab[] = $data;
  1416.         }
  1417.         if ($ficheOpsManaged->getOCefelecimpfrannuel() != 0) {
  1418.             $conso = $ficheOpsManaged->getOCefelecimpfrannuel();
  1419.             $prod = 'Electricité';
  1420.             $usage = 'Froid';
  1421.             $data = ['conso' => $conso, 'prod' => $prod, 'usage' => $usage];
  1422.             $tab[] = $data;
  1423.         }
  1424.         if ($ficheOpsManaged->getOCefelecimpecsannuel() != 0) {
  1425.             $conso = $ficheOpsManaged->getOCefelecimpecsannuel();
  1426.             $prod = 'Electricité';
  1427.             $usage = 'ECS';
  1428.             $data = ['conso' => $conso, 'prod' => $prod, 'usage' => $usage];
  1429.             $tab[] = $data;
  1430.         }
  1431.         if ($ficheOpsManaged->getOCefelecimpeclannuel() != 0) {
  1432.             $conso = $ficheOpsManaged->getOCefelecimpeclannuel();
  1433.             $prod = 'Electricité';
  1434.             $usage = 'Eclairage';
  1435.             $data = ['conso' => $conso, 'prod' => $prod, 'usage' => $usage];
  1436.             $tab[] = $data;
  1437.         }
  1438.         if ($ficheOpsManaged->getOCefelecimpauxvannuel() != 0) {
  1439.             $conso = $ficheOpsManaged->getOCefelecimpauxvannuel();
  1440.             $prod = 'Electricité';
  1441.             $usage = 'Ventilation';
  1442.             $data = ['conso' => $conso, 'prod' => $prod, 'usage' => $usage];
  1443.             $tab[] = $data;
  1444.         }
  1445.         if ($ficheOpsManaged->getOCefelecimpauxsannuel() != 0) {
  1446.             $conso = $ficheOpsManaged->getOCefelecimpauxsannuel();
  1447.             $prod = 'Electricité';
  1448.             $usage = 'Distribution';
  1449.             $data = ['conso' => $conso, 'prod' => $prod, 'usage' => $usage];
  1450.             $tab[] = $data;
  1451.         }
  1452.         if ($ficheOpsManaged->getOCefelecimpAUEannuel() != 0) {
  1453.             $conso = $ficheOpsManaged->getOCefelecimpAUEannuel();
  1454.             $prod = 'Electricité';
  1455.             $usage = 'AUE';
  1456.             $data = ['conso' => $conso, 'prod' => $prod, 'usage' => $usage];
  1457.             $tab[] = $data;
  1458.         }
  1459.         if ($ficheOpsManaged->getOCefreseauchaleurimpchannuel() != 0) {
  1460.             $conso = $ficheOpsManaged->getOCefreseauchaleurimpchannuel();
  1461.             $prod = 'Réseau de chaleur';
  1462.             $usage = 'Chauffage';
  1463.             $data = ['conso' => $conso, 'prod' => $prod, 'usage' => $usage];
  1464.             $tab[] = $data;
  1465.         }
  1466.         if ($ficheOpsManaged->getOCefreseauchaleurimpfrannuel() != 0) {
  1467.             $conso = $ficheOpsManaged->getOCefreseauchaleurimpfrannuel();
  1468.             $prod = 'Réseau de chaleur';
  1469.             $usage = 'Froid';
  1470.             $data = ['conso' => $conso, 'prod' => $prod, 'usage' => $usage];
  1471.             $tab[] = $data;
  1472.         }
  1473.         if ($ficheOpsManaged->getOCefreseauchaleurimpecsannuel() != 0) {
  1474.             $conso = $ficheOpsManaged->getOCefreseauchaleurimpecsannuel();
  1475.             $prod = 'Réseau de chaleur';
  1476.             $usage = 'ECS';
  1477.             $data = ['conso' => $conso, 'prod' => $prod, 'usage' => $usage];
  1478.             $tab[] = $data;
  1479.         }
  1480.         return $this->render('efae.html.twig');
  1481.     }
  1482.     #[Route(path: '/upload-dropzone-test', name: 'upload-dropzone-test')]
  1483.     public function uploadDropzoneTest(Request $req,
  1484.             FicheBatimentRepository $ficheBatRep,
  1485.             EntityManagerInterface $em,
  1486.             Session $session) {
  1487.         $session->start();
  1488.         $idFicheBatiments = $session->get("idFicheBatiments");
  1489.         $time = date('YmdHis');
  1490.         // Récup contenu du fichier temporaire crée et 
  1491.         $fichier = $req->files->get('fichier');
  1492.         $nomFichier = uniqid() . '.xml';
  1493.         $nomInitialFichier = $fichier->getClientOriginalName();
  1494.         $fichier->move('IMPORTSTEST', $nomFichier);
  1495. //        $xml = simplexml_load_file('IMPORTSTEST/' .$nomFichier);
  1496. //        
  1497. //        $ficheTest[] = $nomInitialFichier;    
  1498. //        $ficheTest[] = $xml->Entree_Projet->Version;
  1499. //            
  1500. //            $ficheTest[] = $xml->Sortie_Projet->Name;        
  1501. //            $ficheTest[] = $xml->Datas_Comp->donnees_generales->maitre_ouvrage->nom;
  1502. //            $ficheTest[] = $xml->Datas_Comp->donnees_generales->operation->adresse->ville;
  1503. //            $ficheTest[] = $xml->Sortie_Projet->Departement;
  1504. //            
  1505. //            $ficheTest['SHONRT'] = $xml->Entree_Projet->Batiment_Collection->Batiment->Zone_Collection->Zone->SHON_RT;
  1506. //            $ficheTest['SURT'] = $xml->Entree_Projet->Batiment_Collection->Batiment->Zone_Collection->Zone->Groupe_Collection->Groupe->SURT;
  1507. //            $ficheTest['V'] = $xml->Entree_Projet->Batiment_Collection->Batiment->Zone_Collection->Zone->Groupe_Collection->Groupe->V;
  1508. //            $ficheTest['Qv_occ_BBIO'] = $xml->Entree_Projet->Batiment_Collection->Batiment->Zone_Collection->Zone->Groupe_Collection->Groupe->Qv_occ_BBIO;
  1509. //            $ficheTest['Ak'] = $xml->Entree_Projet->Batiment_Collection->Batiment->Zone_Collection->Zone->Groupe_Collection->Groupe->Paroi_opaque_Collection->Paroi_Opaque->Ak;
  1510. //            $ficheTest['Uk'] = $xml->Entree_Projet->Batiment_Collection->Batiment->Zone_Collection->Zone->Groupe_Collection->Groupe->Paroi_opaque_Collection->Paroi_Opaque->Uk;
  1511. //            if ($xml->Entree_Projet->Batiment_Collection->Batiment->Zone_Collection->Zone->Groupe_Collection->Groupe->Paroi_opaque_Collection->Paroi_Opaque->Alpha > 0) {
  1512. //              $ficheTest['Gamma'] = $xml->Entree_Projet->Batiment_Collection->Batiment->Zone_Collection->Zone->Groupe_Collection->Groupe->Paroi_opaque_Collection->Paroi_Opaque->Masque_Collection->Masque_Lointain_Azimutal->Gamma;  
  1513. //            };
  1514. //            $ficheTest['Ab'] = $xml->Entree_Projet->Batiment_Collection->Batiment->Zone_Collection->Zone->Groupe_Collection->Groupe->Baie_Collection->Baie->Ab;
  1515. //            $ficheTest['Usp_vert'] = $xml->Entree_Projet->Batiment_Collection->Batiment->Zone_Collection->Zone->Groupe_Collection->Groupe->Baie_Collection->Baie->Usp_Vert;
  1516. //            $ficheTest['Ratio_ecl_nat'] = $xml->Entree_Projet->Batiment_Collection->Batiment->Zone_Collection->Zone->Groupe_Collection->Groupe->Eclairage_Collection->Eclairage->Ratio_ecl_nat;
  1517. //            $ficheTest['Rat_local'] = $xml->Entree_Projet->Batiment_Collection->Batiment->Zone_Collection->Zone->Groupe_Collection->Groupe->Eclairage_Collection->Eclairage->Rat_local;//// 
  1518. //            
  1519. //        //analyse que s'il est conforme RT2012
  1520. //        $xml = simplexml_load_file('IMPORTS/' . $nomFichier);
  1521. //        if (isset($xml->Entree_Projet->Index)) {
  1522. //            $fichesBatiment = $service->importer('IMPORTS/' . $nomFichier, $time, $nomInitialFichier);
  1523. //            foreach ($fichesBatiment as $ficheBatiment) {
  1524. //                $fichesOps[] = $ficheBatiment;
  1525. //                $idFicheBatiments[] = $ficheBatiment->getId();
  1526. //            }
  1527. //        }
  1528. //        $session->set("idFicheBatiments", $idFicheBatiments);
  1529. //
  1530. //        return $this->json($fichesOps);
  1531.         return $this->render('workinprogress.html.twig');
  1532.     }
  1533.     
  1534.     
  1535.     
  1536. }