Skip to main content

Posts

How to program in R language in Jupyter Notebooks using Conda environments

In this blog post, we will discuss how to use conda environments to install the R kernel and program in R in Jupyter notebooks. 1. Install conda The first step in using conda environments is to install conda itself. You can download the conda installer from the Anaconda website and follow the instructions to install it on your system. Once you have conda installed, you can create and manage virtual environments. 2. Create a new conda environment To create a new conda environment, you can use the following command in your terminal: conda create -n myrenv This will create a new environment called "myenv" that you can use to manage your packages and dependencies. You can activate this environment by using the following command: conda activate myrenv 3. Install the R kernel Now that you have an active conda environment, you can use it to install the R kernel. You can do this by using the following command (you may have to press Enter key several times to finish the process): c...

Webinar Series on Smart Grid and Microgrids by Smart Grid Research Lab, University of Moratuwa

This webinar series is created by the Smart Grid Research Lab of the University of Moratuwa , Sri Lanka. As a research assistant and a Ph.D. student, I had the honor of organizing the series.  The webinar series is titled "Discussion forum on Smart Grid and Microgrids". It will cover the fundamentals of Smart Grid and Microgrids and the research areas of Smart Grid Research Lab. The webinars will be uploaded to YouTube and created as a playlist . Check out the introduction to the webinar series and the lab by Prof. K. T. M. U. Hemapala.

Definition of a Microgrid

The microgrid is a concept that is modernizing the conventional power system in many countries. It was first proposed in the early 2000s and a lot of research from academia and industry has been conducted to improve the concept as well as the technologies required. Here the definitions of the microgrid are given. USA Department of Energy (DOE) definition (Ton & Smith, 2012): "A group of interconnected loads and distributed energy resources within clearly defined electrical boundaries that acts as a single controllable entity with respect to the grid. A microgrid can connect and disconnect from the grid to enable it to operate in both grid-connected or island mode." European Union (EU) Research Projects definition (Schwaegerl & Tao, 2013): "Microgrids comprise LV distribution systems with distributed energy resources (DER) (microturbines, fuel cells, PV, etc.) together with storage devices (flywheels, energy capacitors, and batteries) and flexible loads. Such syst...

A new page for Machine Learning resources

I have created a page to curate Machine Learning resources found on the internet . Most of these resources are freely available to anyone. Following lists are created as a start. Also, you'll find similar lists in this link -  dair-ai/ML-YouTube-Courses Researchers to follow List by Analytics Vidhya Content to follow Andrew Ng's Coursera course -  Coursera ,  In YouTube   Google AI Crash course -  Google AI Harvard CS50's Artificial Intelligence -  CS50's AI Course   Stanford CS229 (Anand Avati - 2019) -  Stanford 229 (2019) Fast AI Course -  fast.ai Introduction to deep learning (MIT) -  introtodeeplearning.com Applied deep learning -  Applied deep learning YT ML for beginners by Microsoft -  ML for beginners

Research on Machine Learning applications in Smart Grid & Microgrids

Smart grids and microgrids are the future of the power system we use today. Integrating the power systems with communication devices and adding a data layer has its perks for power system operators as well as the consumers.  This novel power system will generate enormous amounts of data with its maturity. As researchers, it is quite fascinating for us since this means that we get to combine two disciplines, Machine Learning & Power Systems. In this blog post, I will list all the possible applications that I come across of machine learning in power systems. Update: I will start to categorize them into, Microgrid research Energy forecasting Smart grid research Microgrid research Multi-agent systems for microgrid control [ link ] Reinforcement learning for microgrid energy management Detect security breaches Fault detection and classification Microgrid islanding detection Multi-agent reinforcement learning for microgrid control Energy forecasting research Solar energy forecasting ...

Studying Machine Learning and Deep Learning from Scratch

I was interested in learning machine learning and deep learning ever since I realized its potential to apply to many research problems in power systems research. So I started learning it. So far, I have done one Coursera specialization, a course (you can probably guess this) and I'm currently doing another specialization. Before this, I went through several youtube videos to get a feel for what ML really is. Apart from this, I'm enrolled in the program by Dr. Michal Fabinger @ Tokyo Data Science My goal here is to recommend the flow of this process, which would have been very helpful in the beginning for me. Although I have given Coursera links most of the content is available open-source for free . So here it goes, Search youtube for videos that explain what machine learning is. There are a lot out there. Don't get stuck in this just take one hour that should be enough.  TensorFlow ML Zero to Hero Then start learning. A good place to start is Coursera - AMII specialization...

Basic Git Commands and usage with GitHub

This post is a quick reference to the basic git commands and to use GitHub. Get version:   git --version Starting the process git init (Creating a git repository locally in the project folder) git status (displays the state of the working directory and the staging area) Configuring global username/email git config --global user.name '<your name>' git config --global user email '<your email>' Project management git add <filename> (adds a change in the working directory to the staging area) git add *.<filetype> (adds changes in the files with specified filetype) git add . (add all changes in the working directory to the staging area) git rm --cached <filename> (remove a file from git repository) git commit -m "<your message>" (save changes in the local repository) git branch <branch name>  (create a branch) git checkout <branch name> (switch to specified branch) git merge <branch name> (merge specified branch...