Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'master' of https://framagit.org/simgrid/simgrid
[simgrid.git] / include / simgrid / plugins / photovoltaic.hpp
1 /* Copyright (c) 2023. The SimGrid Team. All rights reserved.          */
2
3 /* This program is free software; you can redistribute it and/or modify it
4  * under the terms of the license (GNU LGPL) which comes with this package. */
5 #ifndef SIMGRID_PLUGINS_PHOTOVOLTAIC_H_
6 #define SIMGRID_PLUGINS_PHOTOVOLTAIC_H_
7
8 #include <simgrid/config.h>
9 #include <simgrid/forward.h>
10 #include <xbt/base.h>
11
12 SG_BEGIN_DECL
13
14 XBT_PUBLIC void sg_photovoltaic_plugin_init();
15
16 XBT_PUBLIC void sg_photovoltaic_set_solar_irradiance(const_sg_host_t host, double s);
17
18 XBT_PUBLIC double sg_photovoltaic_get_power(const_sg_host_t host);
19
20 SG_END_DECL
21
22 #endif