Compare commits

...

4 Commits

Author SHA1 Message Date
karthik mv efdc4d6a6c
Update README.md 2022-11-12 22:28:48 +05:30
karthik mv 2852d5a2a0
Rename README to README.md 2022-11-12 22:27:42 +05:30
karthikmurakonda 9343254081 update documentation 2022-11-12 19:00:08 +05:30
karthikmurakonda 7995fbd4a5 set center 2022-11-12 18:09:47 +05:30
3 changed files with 36 additions and 85 deletions

View File

@ -1,58 +1,5 @@
/* -----------------------------------------------------------------
* README
*
* iPDC - A Free Phasor Data Concentrator
* Covered under the GPL License 3.0.
*
* Copyright (C) 2012 Nitesh Pandit
* Copyright (C) 2012 Kedar V. Khandeparkar
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program 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 General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* Authors:
* Nitesh Pandit <panditnitesh@gmail.com>
* Kedar V. Khandeparkar <kedar.khandeparkar@gmail.com>
*
* --------------------------------------------------------------- */
Be up to date with about iPDC new
By visiting
http://ipdc.codeplex.com/
http://sourceforge.net/projects/iitbpdc/
http://freecode.com/projects/ipdc
You can also JOIN us on FaceBook at "http://www.facebook.com/pages/PhasorDataConcentrator".
Visit Our another project regarding Wide Area Frequency Measurement System" developed at IIT BOmbay: "http://www.ee.iitb.ac.in/~anil/"
iPDC.x.y.z
-----------
4-files and 4-folders are present in iPDC.x.y.z.tar.gz, they are
1. iPDC-1.3.1
2. PMUSimulator-1.3.1
3. DBServer-1.1
4. DataDir
5. Release Notes 1.3.1
6. change.log
7. README
8. COPYING
# iPDC
This project is an extension to [iPDC](https://sourceforge.net/projects/iitbpdc/)
General Information
@ -75,13 +22,13 @@ Dependencies
mysql-client-5.0.
mysql-common
libmysqlclient16*
GTK+2.5
GTK+3
glade 3.6.7 (optional for development)
NTP-client (For synchronization of system clock)
INSTALLATION:
------------
# INSTALLATION:
Dependencies installation: Installation of glade internally installed the GTK+ libraries and there is no need to explicit installation of GTK+. NTP is recommended for better results by iPDC and PMU Simulator.
@ -93,6 +40,9 @@ INSTALLATION:
su/sudo apt-get install libmysqlclient16-dev (or latest available version)
su/sudo apt-get install glade
su/sudo apt-get install ntp (http://howto.eyeoncomputers.com/ubuntu/install-ntp/)
su/sudo apt-get install libosmgpsmap-1.0-1 gir1.2-osmgpsmap-1.0
su/sudo apt-get install libosmgpsmap-1.0-dev
sudo apt-get install libgee-0.8-dev
For detailed explanation of iPDC, DBServer, and PMUSimulator working refer the User Manual. Available on website. Make sure you have done with the dependency installation before go for installation of iPDC software.
@ -101,10 +51,9 @@ INSTALLATION:
Multiple instance can be run on same machine by ONLY one time installation.
First go to the source folder on terminal then,
1. Extract iPDC.x.y.tar.gz.
2. cd iPDC.x.y/iPDC.x
3. su/sudo make install (It will be needing root permision to create folder & copying file on them)
4. Run iPDC via terminal or you could found its shortcut on menu named iPDC.
1. cd iPDC.x.y/iPDC.x
2. su/sudo make install (It will be needing root permision to create folder & copying file on them)
3. Run iPDC via terminal or you could found its shortcut on menu named iPDC.
B) Install DBServer ->
@ -236,19 +185,7 @@ PROBLEMS & FAQ
How to Reach Us:-
------------------
Nitesh Pandit : panditnitesh@gmail.com
Gopal Gajjar: gopal@ee.iitb.ac.in
Kedar Khandeparkar: kedark@ee.iitb.ac.in
Rathin Dholakia: rathindholakia@gmail.com
Or you can visit our sites:
"http://ipdc.codeplex.com/",
"http://sourceforge.net/projects/iitbpdc/",
"http://wafms.co.cc"
Use discussion forum here in github.
Credits

View File

@ -205,5 +205,15 @@ What we are (and you should) EXPECT in our Future Release:-
2. Port the Programme to Windows Environment
3. Import/Exort data in COMTRADE format.
4. Check and implement Real Time Application Interface
-----------------------------------------------Enf of File----------------------------------------
12.07.2022: Updated Gtk api from 2 to 3.24
+ Using standarded api for file selection.
12.11.2022: Basic data visualization and event detection
+ Using library osm-gps-map for geographical map visualization
+ Using library live-chart for realtime time series graph.
+ Added some basic algorithms like kmeans, dynamic time warping for Event detection.
[more details in report]
-----------------------------------------------End of File----------------------------------------

View File

@ -7,7 +7,6 @@
#include "livechart.h"
#include "connections.h"
// TODO: change this when in production
#define UI_fILE "/usr/local/share/iPDC/utility_tools.ui"
#define RED_IMAGE "/usr/local/share/iPDC/red.png"
#define GREEN_IMAGE "/usr/local/share/iPDC/green.png"
@ -339,11 +338,6 @@ void utility_tools(GtkButton *but, gpointer udata)
"map-source", OSM_GPS_MAP_SOURCE_OSMC_TRAILS,
"tile-cache", "/tmp/",
NULL);
// TODO: centering the map
osm_gps_map_set_center_and_zoom(utdata->util_map, 15.4589, 75.0078, 10);
curr_measurement = 0;
algorithm = 0;
@ -389,11 +383,15 @@ void utility_tools(GtkButton *but, gpointer udata)
vis_data_head = (struct vis_data *)malloc(sizeof(struct vis_data));
struct vis_data * temp_visptr = vis_data_head;
int index = 0;
float centroid_latitude = 0;
float centroid_longitude = 0;
while (llptr != NULL)
{
temp_visptr->id = llptr->pmuid;
temp_visptr->lat = llptr->latitude;
temp_visptr->lon = llptr->longitude;
centroid_latitude += temp_visptr->lat;
centroid_longitude += temp_visptr->lon;
temp_visptr->last_image = osm_gps_map_image_add(utdata->util_map, llptr->latitude, llptr->longitude, g_grey_image);
// declare tooltip
gchar *tooltiptext;
@ -455,8 +453,14 @@ void utility_tools(GtkButton *but, gpointer udata)
temp_visptr->next = NULL;
guint pid = g_timeout_add(20, (GSourceFunc)update_vis, data);
if(index>0){
centroid_latitude /= (index);
centroid_longitude /= (index);
}else{
centroid_latitude = 15;
centroid_longitude = 74;
}
osm_gps_map_set_center_and_zoom(utdata->util_map, centroid_latitude, centroid_longitude, 10);
// gtk_widget_set_hexpand(GTK_WIDGET(chart), TRUE);
// gtk_widget_set_vexpand(GTK_WIDGET(chart), TRUE);