Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions clients/matlab/villas.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,28 +3,28 @@

nodes = {
signal = {
type = "signal",
type = "signal"
signal = "mixed"
values = 5
rate = 100
},
}
matlab = {
type = "socket",
layer = "udp",
type = "socket"
layer = "udp"
format = {
type = "raw",
type = "raw"
bits = 32
endianess = "big"
}

in = {
address = "*:12001"
},
}
out = {
address = "134.61.142.128:12000"

signals = {
count = 5,
count = 5
type = "float"
}
}
Expand Down
2 changes: 1 addition & 1 deletion etc/eric-lab.conf
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ nodes = {

paths = (
{
in = "socket2",
in = "socket2"
out = "ws"
}
)
69 changes: 35 additions & 34 deletions etc/examples/api.conf
Original file line number Diff line number Diff line change
Expand Up @@ -12,33 +12,33 @@ nodes = {
in = {
signals = (
{
name = "sig1_in",
type = "float",
unit = "V",
description = "Signal 1",
rate = 100,
readable = true,
writable = false,
name = "sig1_in"
type = "float"
unit = "V"
description = "Signal 1"
rate = 100
readable = true
writable = false
payload = "samples"
},
{
name = "sig2_in",
type = "float",
unit = "A",
description = "Signal 1",
rate = 100,
readable = true,
writable = false,
name = "sig2_in"
type = "float"
unit = "A"
description = "Signal 1"
rate = 100
readable = true
writable = false
payload = "samples"
},
{
name = "sig3_in",
type = "float",
unit = "A",
description = "Signal 1",
rate = 100,
readable = true,
writable = false,
name = "sig3_in"
type = "float"
unit = "A"
description = "Signal 1"
rate = 100
readable = true
writable = false
payload = "samples"
}
)
Expand All @@ -49,24 +49,24 @@ nodes = {
# Output signals have no name, type and unit settings as those are implicitly
# derived from the signals which are routed to this node
{
description = "Signal 1",
rate = 100,
readable = true,
writable = false,
description = "Signal 1"
rate = 100
readable = true
writable = false
payload = "samples"
},
{
description = "Signal 1",
rate = 100,
readable = true,
writable = false,
description = "Signal 1"
rate = 100
readable = true
writable = false
payload = "samples"
},
{
description = "Signal 1",
rate = 100,
readable = true,
writable = false,
description = "Signal 1"
rate = 100
readable = true
writable = false
payload = "samples"
}
)
Expand All @@ -86,7 +86,8 @@ paths = (
{
in = [
"api_node"
],
]

hooks = (
"print"
)
Expand Down
2 changes: 1 addition & 1 deletion etc/examples/global.conf
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ logging = {

http = {
# Do not listen on port if true
enabled = true,
enabled = true

# Port for HTTP connections
port = 80
Expand Down
16 changes: 8 additions & 8 deletions etc/examples/hooks/ip-dft-pmu.conf
Original file line number Diff line number Diff line change
Expand Up @@ -10,26 +10,26 @@ paths = (

hooks = (
{
type = "pmu",
type = "pmu"

signals = (
"sine"
)

# Sample rate of the input signal
sample_rate = 1000,
sample_rate = 1000

# Number of phasors calculated per second
dft_rate = 10,
dft_rate = 10

# Yhe range around the nominal_freq in with the estimation is done
estimation_range = 10,
estimation_range = 10

# Yhe nominal grid frequnecy
nominal_freq = 50,
# The nominal grid frequency
nominal_freq = 50

# Yhe number of power line cylces stored in the buffer
number_plc = 10.,
# The number of power line cycles stored in the buffer
number_plc = 10.0

# One of: rad, degree
angle_unit = "rad"
Expand Down
2 changes: 1 addition & 1 deletion etc/examples/hooks/ma.conf
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ paths = (

hooks = (
{
type = "ma",
type = "ma"

window_size = 1000

Expand Down
14 changes: 7 additions & 7 deletions etc/examples/hooks/pmu.conf
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,23 @@ paths = (

hooks = (
{
type = "pmu",
type = "pmu"

signals = (
"sine"
)

# Sample rate of the input signal
sample_rate = 1000,
sample_rate = 1000

# Number of phasors calculated per second
dft_rate = 10,
dft_rate = 10

# The nominal grid frequnecy
nominal_freq = 50,
# The nominal grid frequency
nominal_freq = 50

# The number of power line cylces stored in the buffer
number_plc = 10.,
# The number of power line cycles stored in the buffer
number_plc = 10.0

# One of: rad, degree
angle_unit = "rad"
Expand Down
22 changes: 11 additions & 11 deletions etc/examples/hooks/pmu_dft.conf
Original file line number Diff line number Diff line change
Expand Up @@ -10,41 +10,41 @@ paths = (

hooks = (
{
type = "pmu_dft",
type = "pmu_dft"

signals = (
"sine"
)

# Sample rate of the input signal
sample_rate = 1000,
sample_rate = 1000

# Number of phasors calculated per second
dft_rate = 10,
dft_rate = 10

# Lowest frequency bin
start_frequency = 49.7,
start_frequency = 49.7

# Highest frequency bin
end_frequency = 50.3,
end_frequency = 50.3

# Frequency bin resolution
frequency_resolution = 0.1,
frequency_resolution = 0.1

# A factor with which the window will be increased
window_size_factor = 1,
window_size_factor = 1

# One of: flattop, hamming, hann
window_type = "hamming",
window_type = "hamming"

# One of: signal_repeat, zero
padding_type = "zero",
padding_type = "zero"

# One of: quadratic
frequency_estimate_type = "quadratic",
frequency_estimate_type = "quadratic"

# Signal index of the PPS signal
pps_index = 0,
pps_index = 0

# One of: rad, degree
angle_unit = "rad"
Expand Down
2 changes: 1 addition & 1 deletion etc/examples/hooks/power.conf
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ paths = (

hooks = (
{
type = "power",
type = "power"
angle_unit = "degree"
window_size = 1000
timestamp_align = "center"
Expand Down
2 changes: 1 addition & 1 deletion etc/examples/hooks/print.conf
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ paths = (

hooks = (
{
type = "print",
type = "print"

output = "print_output_file.log"
format = "villas.human"
Expand Down
2 changes: 1 addition & 1 deletion etc/examples/hooks/rms.conf
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ paths = (

hooks = (
{
type = "rms",
type = "rms"

window_size = 1000

Expand Down
28 changes: 14 additions & 14 deletions etc/examples/nodes/amqp.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,28 +3,28 @@

nodes = {
amqp_node = {
type = "amqp",
format = "json",
type = "amqp"
format = "json"

# Use 'amqps://' to enable SSL/TLS
uri = "amqp://username:password@example.com:1234/vhost",
uri = "amqp://username:password@example.com:1234/vhost"

# Alternatively connection settings can be specified individually
username = "guest",
password = "guest",
host = "localhost",
vhost = "/",
port = 5672,
username = "guest"
password = "guest"
host = "localhost"
vhost = "/"
port = 5672

exchange = "mytestexchange",
routing_key = "abc",
exchange = "mytestexchange"
routing_key = "abc"

ssl = {
verify_hostname = true,
verify_peer = true,
verify_hostname = true
verify_peer = true

ca_cert = "/path/to/ca.crt",
client_cert = "/path/to/client.crt",
ca_cert = "/path/to/ca.crt"
client_cert = "/path/to/client.crt"
client_key = "/path/to/client.key"
}
}
Expand Down
Loading