|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.Component | +--java.awt.Container | +--java.awt.Window | +--java.awt.Frame | +--SolarTemplate | +--CEnergiaModulo
Esta clase cálcula y muestra la energía generada por los generadores fotovoltaicos instalados en el edificio.
Inner classes inherited from class java.awt.Frame |
java.awt.Frame.AccessibleAWTFrame |
Inner classes inherited from class java.awt.Window |
java.awt.Window.AccessibleAWTWindow |
Inner classes inherited from class java.awt.Container |
java.awt.Container.AccessibleAWTContainer |
Inner classes inherited from class java.awt.Component |
java.awt.Component.AccessibleAWTComponent, java.awt.Component.AWTTreeLock |
Field Summary | |
private Fotorred |
appletPointer
|
private double[] |
arrOfDiaryTemps
|
private double[] |
auxEnergiaDiaria
|
private double[] |
auxEnergiaHoraria
|
private java.awt.Checkbox[] |
checkBoxFachadas
|
private CTemperatura |
CTemperaturaAux
|
private int |
day
|
private double |
declin
|
private int |
dj
|
private double[] |
EnergiaDiaria
|
private double[] |
EnergiaHoraria
|
private double[] |
EnergiaMensual
|
private double[] |
energiaMensualTotal
|
private boolean |
error
|
private int |
hour
|
private double |
HourSunRise
|
private double |
lat
|
private MenuFrame |
menus
|
private CModule |
module
|
private CModule[] |
modules
|
private int |
month
|
private double[] |
Radiacion
|
Fields inherited from class java.awt.Frame |
base, CROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, frameSerializedDataVersion, HAND_CURSOR, icon, ICONIFIED, mbManagement, menuBar, MOVE_CURSOR, N_RESIZE_CURSOR, nameCounter, NE_RESIZE_CURSOR, NORMAL, NW_RESIZE_CURSOR, ownedWindows, resizable, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, serialVersionUID, state, SW_RESIZE_CURSOR, TEXT_CURSOR, title, W_RESIZE_CURSOR, WAIT_CURSOR, weakThis |
Fields inherited from class java.awt.Window |
active, dbg, focusMgr, inputContext, inputContextLock, OPENED, ownedWindowList, warningString, windowListener, windowSerializedDataVersion |
Fields inherited from class java.awt.Container |
component, containerListener, containerSerializedDataVersion, dispatcher, layoutMgr, listeningBoundsChildren, listeningChildren, maxSize, ncomponents, printing, printingThreads |
Fields inherited from class java.awt.Component |
accessibleContext, actionListenerK, adjustmentListenerK, appContext, background, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, changeSupport, componentListener, componentListenerK, componentOrientation, componentSerializedDataVersion, containerListenerK, cursor, dropTarget, enabled, eventMask, focusListener, focusListenerK, font, foreground, graphicsConfig, hasFocus, height, hierarchyBoundsListener, hierarchyBoundsListenerK, hierarchyListener, hierarchyListenerK, incRate, inputMethodListener, inputMethodListenerK, isInc, isPacked, itemListenerK, keyListener, keyListenerK, LEFT_ALIGNMENT, locale, LOCK, metrics, minSize, mouseListener, mouseListenerK, mouseMotionListener, mouseMotionListenerK, name, nameExplicitlySet, newEventsOnly, ownedWindowK, parent, peer, peerFont, popups, prefSize, privateKey, RIGHT_ALIGNMENT, textListenerK, TOP_ALIGNMENT, valid, visible, width, windowClosingException, windowListenerK, x, y |
Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
CEnergiaModulo(MenuFrame menu,
Fotorred mainWin)
Constructor de la clase CEnergia módulo |
Method Summary | |
protected void |
bars_setState(boolean state)
|
private void |
calEnergAnual()
Calcula la energía generada en cada mes del año a partir de los valores horarios. |
protected void |
crearMenuConfiguracion(java.awt.MenuBar mb)
Función para crear los elementos del menú configuración. |
protected void |
crearMenuVer(java.awt.MenuBar mb)
|
void |
dibujarCurvas()
Genera los datos de las curvas seleccionadas. |
CGeo.CCiudad |
GetActualCiudad()
Proporciona el emplazamiento geográfico actualmente elegido. |
protected double |
getAlbedoValue()
Proporciona el valor del albedo. |
protected int |
getAzimuthValue()
Proporciona el valor del azimuth. |
protected int |
getBetaValue()
Proporciona el valor de la pendiente acualmente seleccionada. |
protected void |
nuevaCiudadPV(boolean addNew)
Informa a la clase de radiación solar de que el usuario ha seleccionado una nueva posición geográfica. |
void |
prepareGenMensuales(float[] energiasMensuales)
Calcula los valores de energía generada correspondientes a los doce meses del año y los pasa a la clase que hace el balance energético entre consumo y generación. |
protected void |
setDimensiones()
Establece las dimensiones de la ventana y el tamaño de la rejilla gráfica |
void |
setGeneradorPV(CModule gen,
int control,
boolean showNow)
Establece el generador fotovoltaico equivalente de una fachada. |
Methods inherited from class java.awt.Frame |
|
Methods inherited from class java.awt.Window |
addOwnedWindow, addWindowListener, adjustListeningChildren, applyResourceBundle, applyResourceBundle, connectOwnedWindow, dispatchEventImpl, dispose, eventEnabled, getFocusOwner, getGraphicsConfiguration, getInputContext, getListeners, getLocale, getOwnedWindows, getOwner, getToolkit, getWarningString, hide, isActive, isShowing, nextFocus, ownedInit, pack, postEvent, postWindowEvent, preProcessKeyEvent, processEvent, processWindowEvent, removeOwnedWindow, removeWindowListener, resetGC, setCursor, setFocusOwner, setWarningString, show, toBack, toFront, transferFocus |
Methods inherited from class java.awt.Container |
add, add, add, add, add, addContainerListener, addImpl, applyOrientation, checkGD, countComponents, createChildHierarchyEvents, createHierarchyEvents, deliverEvent, dispatchEventToSelf, doLayout, findComponentAt, findComponentAt, findComponentAt, getAccessibleAt, getAccessibleChild, getAccessibleChildrenCount, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents_NoClientCode, getComponents, getInsets, getLayout, getMaximumSize, getMinimumSize, getMouseEventTarget, getPreferredSize, getWindow, insets, invalidate, invalidateTree, isAncestorOf, layout, lightweightPaint, lightweightPrint, list, list, locate, minimumSize, numListening, paintComponents, paintHeavyweightComponents, postsOldMouseEvents, preferredSize, print, printComponents, printHeavyweightComponents, processContainerEvent, proxyEnableEvents, proxyRequestFocus, remove, remove, removeAll, removeContainerListener, setFont, setLayout, validate, validateTree |
Methods inherited from class java.awt.Component |
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addPropertyChangeListener, addPropertyChangeListener, areInputMethodsEnabled, bounds, checkImage, checkImage, checkWindowClosingException, coalesceEvents, contains, contains, createImage, createImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, getAccessibleIndexInParent, getAccessibleStateSet, getBackground, getBounds, getBounds, getColorModel, getComponentOrientation, getCursor, getDropTarget, getFont_NoClientCode, getFont, getFontMetrics, getForeground, getGraphics, getHeight, getInputMethodRequests, getLocation, getLocation, getLocationOnScreen_NoTreeLock, getLocationOnScreen, getName, getNativeContainer, getParent_NoClientCode, getParent, getPeer, getSize, getSize, getToolkitImpl, getTreeLock, getWidth, getWindowForObject, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isDisplayable, isDoubleBuffered, isEnabled, isEnabledImpl, isFocusTraversable, isLightweight, isOpaque, isRecursivelyVisible, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setDropTarget, setEnabled, setForeground, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, size, toString, transferFocus |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait |
Methods inherited from interface java.awt.MenuContainer |
getFont, postEvent |
Field Detail |
private MenuFrame menus
private Fotorred appletPointer
private CModule module
private CModule[] modules
private java.awt.Checkbox[] checkBoxFachadas
private CTemperatura CTemperaturaAux
private double[] arrOfDiaryTemps
private double[] EnergiaHoraria
private double[] EnergiaDiaria
private double[] EnergiaMensual
private double[] energiaMensualTotal
private double[] auxEnergiaHoraria
private double[] auxEnergiaDiaria
private double[] Radiacion
private int hour
private int day
private int month
private int dj
private double declin
private double lat
private double HourSunRise
private boolean error
Constructor Detail |
public CEnergiaModulo(MenuFrame menu, Fotorred mainWin)
Parent
- diálogo del tipo CRadiación solar desde el que es llamado.Method Detail |
protected void crearMenuVer(java.awt.MenuBar mb)
crearMenuVer
in class SolarTemplate
protected void crearMenuConfiguracion(java.awt.MenuBar mb)
crearMenuConfiguracion
in class SolarTemplate
protected void setDimensiones()
setDimensiones
in class SolarTemplate
protected int getBetaValue()
getBetaValue
in class SolarTemplate
public CGeo.CCiudad GetActualCiudad()
GetActualCiudad
in class SolarTemplate
protected void nuevaCiudadPV(boolean addNew)
nuevaCiudadPV
in class SolarTemplate
boolean
- Flag para indicar que se trata de una nueva posición
definida por el usuario:
true: Es nueva y hay que añadirla al combo de posiciones.
false: Ya está incluida en el combo de posicionesprotected int getAzimuthValue()
getAzimuthValue
in class SolarTemplate
protected double getAlbedoValue()
getAlbedoValue
in class SolarTemplate
public void setGeneradorPV(CModule gen, int control, boolean showNow)
gen
- Objeto de clase CModule que representa el generador Fotovoltaico de la fachada.int
- Valor entero para identificar la fachada considerada. 0:Fachada S. 1:Fachada W. 4:Cubiertaboolean
- Flag para indicar si se deben mostrar las curvas ahora o esperar a tener todas listas.public void dibujarCurvas()
dibujarCurvas
in class SolarTemplate
protected void bars_setState(boolean state)
bars_setState
in class SolarTemplate
public void prepareGenMensuales(float[] energiasMensuales)
private void calEnergAnual()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |