Forked from HYCAR-Hydro / airGR
Source project has a limited visibility.
IrrigationApplicationExternalAspersion.java 3.23 KiB
/*
 * IrrigationApplication.java
 * Created on 13.08.2015, 17:42:55
 * This file is part of JAMS
 * Copyright (C) FSU Jena
 * JAMS is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public License
 * as published by the Free Software Foundation; either version 3
 * of the License, or (at your option) any later version.
 * JAMS is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Lesser General Public License for more details.
 * You should have received a copy of the GNU Lesser General Public License
 * along with JAMS. If not, see <http://www.gnu.org/licenses/>.
package cowattools;
import jams.data.*;
import jams.model.*;
//import cowattools.CouplingCommunication;
/**
 * @author Sven Kralisch <sven.kralisch at uni-jena.de>
@JAMSComponentDescription(
        title = "IrrigationApplicationExternalAspersion",
        author = "Julien Veyssier",
        description = "Apply irrigation on an HRU based on external model",
        date = "2020-02-25",
        version = "0.1"
@VersionComments(entries = {
    @VersionComments.Entry(version = "0.1", comment = "Initial version")
public class IrrigationApplicationExternalAspersion extends JAMSComponent {
     *  Component attributes
    @JAMSVarDescription(
            access = JAMSVarDescription.AccessType.READ,
            description = "HRUs list"
    public Attribute.EntityCollection hrus;
    @JAMSVarDescription(
            access = JAMSVarDescription.AccessType.WRITE,
            description = "Added water for irrigation",
            unit = "L"
    public Attribute.Double irrigationTotal;
    // for aspersion irrigation
    @JAMSVarDescription(
            access = JAMSVarDescription.AccessType.READWRITE,
            description = "HRU precipitation",
            unit = "mm"
    public Attribute.Double precip;
    @JAMSVarDescription(
            access = JAMSVarDescription.AccessType.READ,