-- phpMyAdmin SQL Dump
-- version 4.7.5
-- https://www.phpmyadmin.net/
--
-- Host: localhost
-- Generation Time: Oct 26, 2017 at 05:52 AM
-- Server version: 5.7.20-0ubuntu0.16.04.1
-- PHP Version: 7.0.22-0ubuntu0.16.04.1

SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
SET time_zone = "+00:00";


/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;

--
-- Database: `website`
--

-- --------------------------------------------------------

--
-- Table structure for table `datosPanel`
--

CREATE TABLE `datosPanel` (
  `parametro` varchar(255) NOT NULL,
  `valor` varchar(255) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `datosPanel`
--

INSERT INTO `datosPanel` (`parametro`, `valor`) VALUES
('coeficiente Isc', '0.0053'),
('Coeficiente Pmax', '-0.41'),
('coeficiente Voc', '-0.31'),
('espectrum AM', '1.5'),
('Imp', '8.78'),
('irradiancia', '800'),
('Isc', '9.34'),
('noct', '45'),
('Pmax', '325'),
('Temperatura Ambiente', '20'),
('Vmp', '37'),
('Voc', '45.5');

-- --------------------------------------------------------

--
-- Table structure for table `datos_x_depto`
--

CREATE TABLE `datos_x_depto` (
  `departamento` varchar(255) NOT NULL,
  `irradiancia` decimal(18,2) NOT NULL,
  `temperatura_ambiente_promedio` decimal(18,2) NOT NULL,
  `temperatura_ambiente` decimal(18,2) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `datos_x_depto`
--

INSERT INTO `datos_x_depto` (`departamento`, `irradiancia`, `temperatura_ambiente_promedio`, `temperatura_ambiente`) VALUES
('Ahuachapan ', '5.41', '24.80', '31.00'),
('Cabañas', '5.39', '24.80', '31.00'),
('Chalatenango ', '5.26', '25.20', '32.00'),
('Cuscatlan ', '5.51', '23.50', '31.00'),
('La  Union ', '5.62', '29.70', '36.00'),
('La Libertad ', '5.35', '23.10', '34.00'),
('La Paz', '5.56', '27.30', '32.00'),
('Morazan ', '5.33', '29.10', '30.00'),
('San Miguel ', '5.47', '29.10', '35.00'),
('San Salvador', '5.35', '24.90', '31.00'),
('San Vicente ', '5.57', '26.00', '34.00'),
('SANTA ANA', '5.43', '25.10', '31.00'),
('Sonsonate', '5.10', '26.90', '31.00'),
('Usulutan ', '5.27', '28.40', '34.00');

-- --------------------------------------------------------

--
-- Table structure for table `distribuidoras`
--

CREATE TABLE `distribuidoras` (
  `distribuidora` varchar(255) NOT NULL,
  `tarifapromedio` decimal(18,8) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `distribuidoras`
--

INSERT INTO `distribuidoras` (`distribuidora`, `tarifapromedio`) VALUES
('CAESS', '0.13704300'),
('CLESA', '0.14027500'),
('DELSUR', '0.13772600'),
('DEUSEM', '0.13783700'),
('EEO', '0.13933000');

--
-- Indexes for dumped tables
--

--
-- Indexes for table `datosPanel`
--
ALTER TABLE `datosPanel`
  ADD PRIMARY KEY (`parametro`);

--
-- Indexes for table `datos_x_depto`
--
ALTER TABLE `datos_x_depto`
  ADD PRIMARY KEY (`departamento`);

--
-- Indexes for table `distribuidoras`
--
ALTER TABLE `distribuidoras`
  ADD PRIMARY KEY (`distribuidora`);
COMMIT;

/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
